快鹿后端API接口文档
curl --location --globoff 'http://${{address}}:8080/post/selectPostPage?userId=1¤t=1&size=5'{
"code": "200",
"msg": "查询成功",
"data": [
{
"postId": "7f05f619-e773-4341-b6d3-eb0f93403248",
"date": "2023-8-16 16:20:0",
"content": {
"urls": [
"http://192.168.128.139:8080/static/post/7f05f619-e773-4341-b6d3-eb0f93403248-1.jpg",
"http://192.168.128.139:8080/static/post/7f05f619-e773-4341-b6d3-eb0f93403248-2.jpg",
"http://192.168.128.139:8080/static/post/7f05f619-e773-4341-b6d3-eb0f93403248-3.jpg"
],
"text": "哈哈哈哈哈哈",
"title": "哈哈"
},
"userInfo": {
"userId": "1",
"name": "麋鹿",
"avatar": "http://192.168.128.139:8080/static/avatar/1.jpg",
"role": "ROLE_user",
"socialInfo": {
"likes": 12,
"fans": 3,
"following": 1
},
"baseInfo": {
"gender": "男",
"address": "山东省-滨州市-沾化区"
},
"schoolInfo": {
"schoolName": "麻省理工学院",
"degree": "本科",
"major": "计算机软件",
"graduation": "2027-11-03"
}
},
"socialStats": {
"browserCount": 80,
"likeCount": 1,
"bookmarkCount": 0,
"isLike": true,
"isBookmark": false
},
"commentCount": 1
},
{
"postId": "7",
"date": "2020-11-29",
"content": {
"urls": [
"http://192.168.128.139:8080/static/avatar/1.jpg",
"http://192.168.128.139:8080/static/avatar/1.jpg",
"http://192.168.128.139:8080/static/logo.png"
],
"text": "abstyle 7",
"title": "ab 7"
},
"userInfo": {
"userId": "2",
"name": "张三",
"avatar": "http://192.168.128.139:8080/static/logo.png",
"role": "ROLE_user",
"socialInfo": {
"likes": 2,
"fans": 1,
"following": 2
},
"baseInfo": {
"gender": "男",
"address": "辽宁省-大连市-西岗区"
},
"schoolInfo": {
"schoolName": "南京大学",
"degree": "本科",
"major": "应用数学",
"graduation": "2025-09-05"
}
},
"socialStats": {
"browserCount": 10,
"likeCount": 0,
"bookmarkCount": 2,
"isLike": false,
"isBookmark": true
},
"commentCount": 0
},
{
"postId": "8",
"date": "2020-11-28",
"content": {
"urls": [
"http://192.168.128.139:8080/static/avatar/1.jpg"
],
"text": "abstyle 8",
"title": "ab 8"
},
"userInfo": {
"userId": "2",
"name": "张三",
"avatar": "http://192.168.128.139:8080/static/logo.png",
"role": "ROLE_user",
"socialInfo": {
"likes": 2,
"fans": 1,
"following": 2
},
"baseInfo": {
"gender": "男",
"address": "辽宁省-大连市-西岗区"
},
"schoolInfo": {
"schoolName": "南京大学",
"degree": "本科",
"major": "应用数学",
"graduation": "2025-09-05"
}
},
"socialStats": {
"browserCount": 8,
"likeCount": 2,
"bookmarkCount": 1,
"isLike": true,
"isBookmark": false
},
"commentCount": 0
},
{
"postId": "4",
"date": "2020-11-27",
"content": {
"urls": [
"http://192.168.128.139:8080/static/avatar/1.jpg"
],
"text": "abstyle 4",
"title": "ab 4"
},
"userInfo": {
"userId": "1",
"name": "麋鹿",
"avatar": "http://192.168.128.139:8080/static/avatar/1.jpg",
"role": "ROLE_user",
"socialInfo": {
"likes": 12,
"fans": 3,
"following": 1
},
"baseInfo": {
"gender": "男",
"address": "山东省-滨州市-沾化区"
},
"schoolInfo": {
"schoolName": "麻省理工学院",
"degree": "本科",
"major": "计算机软件",
"graduation": "2027-11-03"
}
},
"socialStats": {
"browserCount": 10,
"likeCount": 2,
"bookmarkCount": 2,
"isLike": false,
"isBookmark": false
},
"commentCount": 2
},
{
"postId": "6",
"date": "2020-11-26",
"content": {
"urls": [
"http://192.168.128.139:8080/static/avatar/1.jpg"
],
"text": "abstyle 6",
"title": "ab 6"
},
"userInfo": {
"userId": "1",
"name": "麋鹿",
"avatar": "http://192.168.128.139:8080/static/avatar/1.jpg",
"role": "ROLE_user",
"socialInfo": {
"likes": 12,
"fans": 3,
"following": 1
},
"baseInfo": {
"gender": "男",
"address": "山东省-滨州市-沾化区"
},
"schoolInfo": {
"schoolName": "麻省理工学院",
"degree": "本科",
"major": "计算机软件",
"graduation": "2027-11-03"
}
},
"socialStats": {
"browserCount": 7,
"likeCount": 2,
"bookmarkCount": 1,
"isLike": false,
"isBookmark": false
},
"commentCount": 2
}
]
}