...
|
...
|
@@ -15,6 +15,22 @@ |
|
|
"application/json"
|
|
|
],
|
|
|
"paths": {
|
|
|
"v1/clear": {
|
|
|
"get": {
|
|
|
"summary": "清理缓存",
|
|
|
"operationId": "commonGetClearCache",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {}
|
|
|
}
|
|
|
},
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"common"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/common/sms/code": {
|
|
|
"post": {
|
|
|
"summary": "短信验证码",
|
...
|
...
|
@@ -401,6 +417,34 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article_comment/list_reply": {
|
|
|
"post": {
|
|
|
"summary": "小程序展示评论对应的一级回复列表",
|
|
|
"operationId": "MiniListReplyArticleComment",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniListReplyArticleCommentResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniListReplyArticleCommentRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"comment"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article_comment/top5": {
|
|
|
"post": {
|
|
|
"summary": "小程序展示文章的评论列表TOP5",
|
...
|
...
|
@@ -719,6 +763,118 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/homepage/user_beliked": {
|
|
|
"post": {
|
|
|
"summary": "个人主页-获赞的列表",
|
|
|
"operationId": "miniHomepageUserBeliked",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniHomePageUserBeLikedResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniHomePageUserBeLikedRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"user"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/homepage/user_follower": {
|
|
|
"post": {
|
|
|
"summary": "个人主页-关注我的人",
|
|
|
"operationId": "miniHomepageUserFollower",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniHomePageUserFollowerSearchResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniHomePageUserFollowerSearchRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"user"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/homepage/user_info": {
|
|
|
"post": {
|
|
|
"summary": "个人主页用户信息",
|
|
|
"operationId": "miniHomePageUserInfo",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniHomePageUserInfoResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniHomePageUserInfoRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"user"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/homepage/user_news": {
|
|
|
"post": {
|
|
|
"summary": "个人主页-用户发布的信息",
|
|
|
"operationId": "miniHomepageUserNews",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniHomepageUserNewsResposne"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniHomepageUserNewsRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"user"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/message/comment": {
|
|
|
"post": {
|
|
|
"summary": "评论消息",
|
...
|
...
|
@@ -803,6 +959,32 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/qrcode": {
|
|
|
"post": {
|
|
|
"summary": "微信二维码",
|
|
|
"operationId": "miniQrcodeInvite",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniQrCodeRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"common"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/show/home_page": {
|
|
|
"get": {
|
|
|
"summary": "小程序首页数据展示",
|
...
|
...
|
@@ -1121,6 +1303,34 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/user/info/edit": {
|
|
|
"post": {
|
|
|
"summary": "编辑用户信息",
|
|
|
"operationId": "miniEditUserInfo",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniEditUserInfoResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniEditUserInfoRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"user"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/user/login": {
|
|
|
"post": {
|
|
|
"summary": "用户登录",
|
...
|
...
|
@@ -1149,9 +1359,65 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/user/my_following_news": {
|
|
|
"post": {
|
|
|
"summary": "我关注人发布的信息",
|
|
|
"operationId": "miniUserMyFollowingNews",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniUserNewsResposne"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniUserNewsRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"user"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/user/mybeliked": {
|
|
|
"post": {
|
|
|
"summary": "我被点赞-文章或评论列表",
|
|
|
"operationId": "miniMyBeLiked",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniBeLikedResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniBeLikedRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"user"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/user/mylike": {
|
|
|
"post": {
|
|
|
"summary": "我点赞的文章或评论",
|
|
|
"summary": "我点赞的-文章或评论列表",
|
|
|
"operationId": "miniMyLike",
|
|
|
"responses": {
|
|
|
"200": {
|
...
|
...
|
@@ -1677,6 +1943,34 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article_comment/edit/love": {
|
|
|
"post": {
|
|
|
"summary": "编辑评论的运营点赞数",
|
|
|
"operationId": "SystemEditAticleCommentLove",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemEditCommentLoveResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemEditCommentLoveRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"comment"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article_comment/edit_show": {
|
|
|
"post": {
|
|
|
"summary": "管理后台变更评论的显示状态",
|
...
|
...
|
@@ -2203,21 +2497,37 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/role/search": {
|
|
|
"post": {
|
|
|
"summary": "角色列表搜索",
|
|
|
"operationId": "systemSearchRole",
|
|
|
"v1/system/role/auths": {
|
|
|
"get": {
|
|
|
"summary": "角色权限列表",
|
|
|
"operationId": "systemGetRoleAuths",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleSearchResponse"
|
|
|
}
|
|
|
"schema": {}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"role"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/role/search": {
|
|
|
"post": {
|
|
|
"summary": "角色列表搜索",
|
|
|
"operationId": "systemSearchRole",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleSearchResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
...
|
...
|
@@ -2661,6 +2971,10 @@ |
|
|
},
|
|
|
"description": " 填写评论时@的人"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 评论内容中的url文本"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
...
|
...
|
@@ -2668,7 +2982,7 @@ |
|
|
"meLoveFlag": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "当前人员对评论的点赞标识 (0 没有点赞 1有点赞)"
|
|
|
"description": " 当前人员对评论的点赞标识 (0 没有点赞 1有点赞)"
|
|
|
},
|
|
|
"content": {
|
|
|
"type": "string",
|
...
|
...
|
@@ -2691,6 +3005,7 @@ |
|
|
"countUserLove",
|
|
|
"countAdminLove",
|
|
|
"atWho",
|
|
|
"matchUrl",
|
|
|
"createdAt",
|
|
|
"meLoveFlag",
|
|
|
"content"
|
...
|
...
|
@@ -2725,11 +3040,16 @@ |
|
|
"format": "int32",
|
|
|
"description": "点赞数量"
|
|
|
},
|
|
|
"CountComment": {
|
|
|
"countComment": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "评论数量"
|
|
|
},
|
|
|
"countRead": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "浏览数量"
|
|
|
},
|
|
|
"show": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
...
|
...
|
@@ -2743,7 +3063,8 @@ |
|
|
"images",
|
|
|
"createdAt",
|
|
|
"countLove",
|
|
|
"CountComment",
|
|
|
"countComment",
|
|
|
"countRead",
|
|
|
"show"
|
|
|
]
|
|
|
},
|
...
|
...
|
@@ -2811,6 +3132,11 @@ |
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 已读的标签数量"
|
|
|
},
|
|
|
"sortBy": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 排序"
|
|
|
}
|
|
|
},
|
|
|
"title": "ArticleTagCount",
|
...
|
...
|
@@ -2821,7 +3147,8 @@ |
|
|
"tagName",
|
|
|
"tagRemark",
|
|
|
"totalArticle",
|
|
|
"readArticle"
|
|
|
"readArticle",
|
|
|
"sortBy"
|
|
|
]
|
|
|
},
|
|
|
"ArticleTagGroup": {
|
...
|
...
|
@@ -2858,6 +3185,10 @@ |
|
|
},
|
|
|
"image": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sortBy": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "ArticleTagItem",
|
...
|
...
|
@@ -2865,7 +3196,8 @@ |
|
|
"id",
|
|
|
"category",
|
|
|
"name",
|
|
|
"image"
|
|
|
"image",
|
|
|
"sortBy"
|
|
|
]
|
|
|
},
|
|
|
"Auth": {
|
...
|
...
|
@@ -2899,6 +3231,10 @@ |
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"avatar": {
|
|
|
"type": "string",
|
|
|
"description": " 人员头像URL"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
},
|
...
|
...
|
@@ -3268,7 +3604,7 @@ |
|
|
"optType": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 操作类型(1针对文章、1针对评论、2针对圆桌)"
|
|
|
"description": " 操作类型(1针对文章或段落、2针对评论、3针对圆桌)"
|
|
|
},
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
...
|
...
|
@@ -3290,25 +3626,6 @@ |
|
|
"format": "int64",
|
|
|
"description": " 文章ID"
|
|
|
},
|
|
|
"commentId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 评论ID"
|
|
|
},
|
|
|
"discussionId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 圆桌ID"
|
|
|
},
|
|
|
"discussionOpinionId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 观点ID"
|
|
|
},
|
|
|
"content": {
|
|
|
"type": "string",
|
|
|
"description": " 消息内容"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
...
|
...
|
@@ -3324,7 +3641,11 @@ |
|
|
},
|
|
|
"comment": {
|
|
|
"$ref": "#/definitions/SimpleComment",
|
|
|
"description": " 评论(不一定是自己,可能是被人@到)"
|
|
|
"description": " 评论"
|
|
|
},
|
|
|
"commentParent": {
|
|
|
"$ref": "#/definitions/SimpleComment",
|
|
|
"description": " 被回复的评论"
|
|
|
}
|
|
|
},
|
|
|
"title": "MessageBusinessItem",
|
...
|
...
|
@@ -3336,14 +3657,11 @@ |
|
|
"userId",
|
|
|
"recipientId",
|
|
|
"articleId",
|
|
|
"commentId",
|
|
|
"discussionId",
|
|
|
"discussionOpinionId",
|
|
|
"content",
|
|
|
"createdAt",
|
|
|
"user",
|
|
|
"article",
|
|
|
"comment"
|
|
|
"comment",
|
|
|
"commentParent"
|
|
|
]
|
|
|
},
|
|
|
"MessageBusinessResponse": {
|
...
|
...
|
@@ -3637,12 +3955,17 @@ |
|
|
"location": {
|
|
|
"$ref": "#/definitions/Location",
|
|
|
"description": "定位坐标"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 匹配文章内容中的url文本"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleCreateRequest",
|
|
|
"required": [
|
|
|
"title",
|
|
|
"section"
|
|
|
"section",
|
|
|
"matchUrl"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleCreateResponse": {
|
...
|
...
|
@@ -3712,6 +4035,10 @@ |
|
|
"location": {
|
|
|
"$ref": "#/definitions/Location",
|
|
|
"description": " 坐标"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 匹配文章内容中的url文本"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftCreateRequest",
|
...
|
...
|
@@ -3722,7 +4049,8 @@ |
|
|
"images",
|
|
|
"whoRead",
|
|
|
"whoReview",
|
|
|
"location"
|
|
|
"location",
|
|
|
"matchUrl"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftCreateResponse": {
|
...
|
...
|
@@ -3846,6 +4174,9 @@ |
|
|
"location": {
|
|
|
"$ref": "#/definitions/Location",
|
|
|
"description": " 坐标"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftGetMeResponse",
|
...
|
...
|
@@ -3857,7 +4188,8 @@ |
|
|
"images",
|
|
|
"whoRead",
|
|
|
"whoReview",
|
|
|
"location"
|
|
|
"location",
|
|
|
"matchUrl"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftItem": {
|
...
|
...
|
@@ -3893,6 +4225,10 @@ |
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": "匹配内容中的url文本"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftItem",
|
...
|
...
|
@@ -3902,7 +4238,8 @@ |
|
|
"section",
|
|
|
"title",
|
|
|
"images",
|
|
|
"createdAt"
|
|
|
"createdAt",
|
|
|
"matchUrl"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftSearchMeRequest": {
|
...
|
...
|
@@ -4011,6 +4348,10 @@ |
|
|
"location": {
|
|
|
"$ref": "#/definitions/Location",
|
|
|
"description": " 坐标"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 匹配文章内容中的url文本"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftUpdateRequest",
|
...
|
...
|
@@ -4022,7 +4363,8 @@ |
|
|
"images",
|
|
|
"whoRead",
|
|
|
"whoReview",
|
|
|
"location"
|
|
|
"location",
|
|
|
"matchUrl"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftUpdateResponse": {
|
...
|
...
|
@@ -4102,6 +4444,13 @@ |
|
|
},
|
|
|
"description": "图片"
|
|
|
},
|
|
|
"videos": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
},
|
|
|
"description": "视频"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
...
|
...
|
@@ -4163,6 +4512,10 @@ |
|
|
"type": "string"
|
|
|
},
|
|
|
"description": " 文章的标签"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 匹配文章内容中的url文本"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleGetResponse",
|
...
|
...
|
@@ -4174,6 +4527,7 @@ |
|
|
"createdAt",
|
|
|
"section",
|
|
|
"images",
|
|
|
"videos",
|
|
|
"whoRead",
|
|
|
"whoReview",
|
|
|
"location",
|
...
|
...
|
@@ -4184,7 +4538,8 @@ |
|
|
"edit",
|
|
|
"meLoveFlag",
|
|
|
"meFollowFlag",
|
|
|
"tags"
|
|
|
"tags",
|
|
|
"matchUrl"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleMarkItem": {
|
...
|
...
|
@@ -4369,8 +4724,11 @@ |
|
|
"description": " 文章id"
|
|
|
},
|
|
|
"tagId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 标签id"
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -4384,8 +4742,11 @@ |
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleSetTagResponse",
|
...
|
...
|
@@ -4393,6 +4754,44 @@ |
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"MiniBeLikedRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniBeLikedRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size"
|
|
|
]
|
|
|
},
|
|
|
"MiniBeLikedResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/MyBeLikedItem"
|
|
|
}
|
|
|
},
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniBeLikedResponse",
|
|
|
"required": [
|
|
|
"list",
|
|
|
"total"
|
|
|
]
|
|
|
},
|
|
|
"MiniCreateArticleCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -4431,15 +4830,17 @@ |
|
|
"$ref": "#/definitions/CommentAtWho"
|
|
|
},
|
|
|
"description": " 填写评论时@的人"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 评论内容中的url文本"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniCreateArticleCommentRequest",
|
|
|
"required": [
|
|
|
"articleId",
|
|
|
"sectionId",
|
|
|
"pid",
|
|
|
"content",
|
|
|
"atWho"
|
|
|
"content"
|
|
|
]
|
|
|
},
|
|
|
"MiniCreateArticleCommentResponse": {
|
...
|
...
|
@@ -4511,6 +4912,10 @@ |
|
|
},
|
|
|
"description": " 填写评论时@的人"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 评论内容中的url文本"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
...
|
...
|
@@ -4532,6 +4937,7 @@ |
|
|
"countUserLove",
|
|
|
"countAdminLove",
|
|
|
"atWho",
|
|
|
"matchUrl",
|
|
|
"createdAt"
|
|
|
]
|
|
|
},
|
...
|
...
|
@@ -4569,6 +4975,22 @@ |
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"MiniEditUserInfoRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"avatar": {
|
|
|
"$ref": "#/definitions/string"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniEditUserInfoRequest",
|
|
|
"required": [
|
|
|
"avatar"
|
|
|
]
|
|
|
},
|
|
|
"MiniEditUserInfoResponse": {
|
|
|
"type": "object",
|
|
|
"title": "MiniEditUserInfoResponse"
|
|
|
},
|
|
|
"MiniGetArticleCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -4622,29 +5044,281 @@ |
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"tags": {
|
|
|
"tags": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleTagCount"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniHomePageResponse",
|
|
|
"required": [
|
|
|
"tagCategory",
|
|
|
"tags"
|
|
|
]
|
|
|
},
|
|
|
"MiniHomePageUserBeLikedRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"userId": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniHomePageUserBeLikedRequest",
|
|
|
"required": [
|
|
|
"userId",
|
|
|
"page",
|
|
|
"size"
|
|
|
]
|
|
|
},
|
|
|
"MiniHomePageUserBeLikedResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/MyBeLikedItem"
|
|
|
}
|
|
|
},
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniHomePageUserBeLikedResponse",
|
|
|
"required": [
|
|
|
"list",
|
|
|
"total"
|
|
|
]
|
|
|
},
|
|
|
"MiniHomePageUserFollowerSearchRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"userId": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniHomePageUserFollowerSearchRequest",
|
|
|
"required": [
|
|
|
"userId"
|
|
|
]
|
|
|
},
|
|
|
"MiniHomePageUserFollowerSearchResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"users": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/UserFollowItem"
|
|
|
}
|
|
|
},
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniHomePageUserFollowerSearchResponse",
|
|
|
"required": [
|
|
|
"users",
|
|
|
"total"
|
|
|
]
|
|
|
},
|
|
|
"MiniHomePageUserInfoRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"userId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 用户ID"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniHomePageUserInfoRequest",
|
|
|
"required": [
|
|
|
"userId"
|
|
|
]
|
|
|
},
|
|
|
"MiniHomePageUserInfoResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"user": {
|
|
|
"$ref": "#/definitions/UserItem",
|
|
|
"description": " 用户信息"
|
|
|
},
|
|
|
"totalFollower": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 关注他的人数"
|
|
|
},
|
|
|
"totalBeLoved": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 获赞数"
|
|
|
},
|
|
|
"followed": {
|
|
|
"type": "boolean",
|
|
|
"format": "boolean",
|
|
|
"description": " 关注"
|
|
|
},
|
|
|
"mutualFollowed": {
|
|
|
"type": "boolean",
|
|
|
"format": "boolean",
|
|
|
"description": " 互相关注标识"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniHomePageUserInfoResponse",
|
|
|
"required": [
|
|
|
"user",
|
|
|
"totalFollower",
|
|
|
"totalBeLoved",
|
|
|
"followed",
|
|
|
"mutualFollowed"
|
|
|
]
|
|
|
},
|
|
|
"MiniHomepageUserNewsRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 特定作者ID"
|
|
|
},
|
|
|
"lastArticleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 最后文章ID"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 数量"
|
|
|
},
|
|
|
"orderByHotScore": {
|
|
|
"type": "string",
|
|
|
"default": "desc",
|
|
|
"description": " 热度排序 升序 asc 降序 desc"
|
|
|
},
|
|
|
"keywords": {
|
|
|
"type": "string",
|
|
|
"description": " 关键字"
|
|
|
},
|
|
|
"beginTime": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 开始时间"
|
|
|
},
|
|
|
"beginTime": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 结束时间"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniHomepageUserNewsRequest",
|
|
|
"required": [
|
|
|
"authorId",
|
|
|
"size",
|
|
|
"orderByHotScore"
|
|
|
]
|
|
|
},
|
|
|
"MiniHomepageUserNewsResposne": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/UserNewsItem"
|
|
|
}
|
|
|
},
|
|
|
"lastArticleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 最后文章ID"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniHomepageUserNewsResposne",
|
|
|
"required": [
|
|
|
"list",
|
|
|
"lastArticleId"
|
|
|
]
|
|
|
},
|
|
|
"MiniListArticleCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"sectionId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniListArticleCommentRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size",
|
|
|
"articleId"
|
|
|
]
|
|
|
},
|
|
|
"MiniListArticleCommentResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleTagCount"
|
|
|
"$ref": "#/definitions/ArticleCommentAndReply"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniHomePageResponse",
|
|
|
"title": "MiniListArticleCommentResponse",
|
|
|
"required": [
|
|
|
"tagCategory",
|
|
|
"tags"
|
|
|
"total",
|
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
"MiniListArticleCommentRequest": {
|
|
|
"MiniListReplyArticleCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"size": {
|
|
|
"commentId": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
...
|
...
|
@@ -4654,23 +5328,23 @@ |
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"articleId": {
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"sectionId": {
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniListArticleCommentRequest",
|
|
|
"title": "MiniListReplyArticleCommentRequest",
|
|
|
"required": [
|
|
|
"commentId",
|
|
|
"page",
|
|
|
"size",
|
|
|
"articleId"
|
|
|
"size"
|
|
|
]
|
|
|
},
|
|
|
"MiniListArticleCommentResponse": {
|
|
|
"MiniListReplyArticleCommentResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"total": {
|
...
|
...
|
@@ -4680,11 +5354,11 @@ |
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleCommentAndReply"
|
|
|
"$ref": "#/definitions/ArticleCommentItem"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniListArticleCommentResponse",
|
|
|
"title": "MiniListReplyArticleCommentResponse",
|
|
|
"required": [
|
|
|
"total",
|
|
|
"list"
|
...
|
...
|
@@ -4728,6 +5402,24 @@ |
|
|
"total"
|
|
|
]
|
|
|
},
|
|
|
"MiniQrCodeRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"page": {
|
|
|
"type": "string",
|
|
|
"description": " 微信页面入口"
|
|
|
},
|
|
|
"scene": {
|
|
|
"type": "string",
|
|
|
"description": " 参数"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniQrCodeRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"scene"
|
|
|
]
|
|
|
},
|
|
|
"MiniSearchArticleItem": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -4738,6 +5430,10 @@ |
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"author": {
|
|
|
"type": "string",
|
|
|
"description": " 发布人"
|
...
|
...
|
@@ -4766,6 +5462,7 @@ |
|
|
"required": [
|
|
|
"articleId",
|
|
|
"title",
|
|
|
"authorId",
|
|
|
"author",
|
|
|
"avatar",
|
|
|
"images",
|
...
|
...
|
@@ -5281,10 +5978,61 @@ |
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 按角色角色关联的用户"
|
|
|
},
|
|
|
"keywords": {
|
|
|
"type": "string",
|
|
|
"description": " 按关键字搜索(名称)"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniUsersListRequest"
|
|
|
},
|
|
|
"MyBeLikedItem": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"userId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 点赞人id"
|
|
|
},
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章id"
|
|
|
},
|
|
|
"commentId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 评论id"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 创建时间"
|
|
|
},
|
|
|
"user": {
|
|
|
"$ref": "#/definitions/SimpleUser",
|
|
|
"description": " 点赞人"
|
|
|
},
|
|
|
"article": {
|
|
|
"$ref": "#/definitions/SimpleArticle",
|
|
|
"description": " 文章"
|
|
|
},
|
|
|
"comment": {
|
|
|
"$ref": "#/definitions/SimpleComment",
|
|
|
"description": " 评论"
|
|
|
}
|
|
|
},
|
|
|
"title": "MyBeLikedItem",
|
|
|
"required": [
|
|
|
"userId",
|
|
|
"articleId",
|
|
|
"commentId",
|
|
|
"createdAt",
|
|
|
"user",
|
|
|
"article",
|
|
|
"comment"
|
|
|
]
|
|
|
},
|
|
|
"MyLikeItem": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -5602,29 +6350,42 @@ |
|
|
"type": "string",
|
|
|
"description": " 评论内容"
|
|
|
},
|
|
|
"countLove": {
|
|
|
"show": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 点赞数量"
|
|
|
"description": " 评论的展示状态(0显示、1不显示)"
|
|
|
},
|
|
|
"countComment": {
|
|
|
"atWho": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/CommentAtWho"
|
|
|
},
|
|
|
"description": " 填写评论时@的人"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 评论内容中的url文本"
|
|
|
},
|
|
|
"countReply": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 评论数量"
|
|
|
"description": " 用户回复数量"
|
|
|
},
|
|
|
"show": {
|
|
|
"countUserLove": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 评论的展示状态(0显示、1不显示)"
|
|
|
"description": " 用户点赞数量"
|
|
|
}
|
|
|
},
|
|
|
"title": "SimpleComment",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"content",
|
|
|
"countLove",
|
|
|
"countComment",
|
|
|
"show"
|
|
|
"show",
|
|
|
"atWho",
|
|
|
"matchUrl",
|
|
|
"countReply",
|
|
|
"countUserLove"
|
|
|
]
|
|
|
},
|
|
|
"SimpleUser": {
|
...
|
...
|
@@ -5744,6 +6505,17 @@ |
|
|
"type": "string",
|
|
|
"description": " 评论的内容"
|
|
|
},
|
|
|
"atWho": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/CommentAtWho"
|
|
|
},
|
|
|
"description": " 填写评论时@的人"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 评论内容中的url文本"
|
|
|
},
|
|
|
"show": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
...
|
...
|
@@ -5764,6 +6536,8 @@ |
|
|
"countAdminLove",
|
|
|
"createdAt",
|
|
|
"content",
|
|
|
"atWho",
|
|
|
"matchUrl",
|
|
|
"show"
|
|
|
]
|
|
|
},
|
...
|
...
|
@@ -5843,7 +6617,8 @@ |
|
|
"description": " 文章顶层ID"
|
|
|
},
|
|
|
"author": {
|
|
|
"type": "string",
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 用户"
|
|
|
},
|
|
|
"show": {
|
...
|
...
|
@@ -5943,6 +6718,12 @@ |
|
|
},
|
|
|
"description": " 图片"
|
|
|
},
|
|
|
"video": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
}
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
...
|
...
|
@@ -5999,6 +6780,7 @@ |
|
|
"createdAt",
|
|
|
"section",
|
|
|
"images",
|
|
|
"video",
|
|
|
"whoRead",
|
|
|
"whoReadInfo",
|
|
|
"whoReview",
|
...
|
...
|
@@ -6066,6 +6848,13 @@ |
|
|
},
|
|
|
"description": " 图片"
|
|
|
},
|
|
|
"videos": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
},
|
|
|
"description": " 视频"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
...
|
...
|
@@ -6142,6 +6931,7 @@ |
|
|
"createdAt",
|
|
|
"section",
|
|
|
"images",
|
|
|
"videos",
|
|
|
"whoRead",
|
|
|
"whoReadInfo",
|
|
|
"whoReview",
|
...
|
...
|
@@ -6296,6 +7086,11 @@ |
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人ID"
|
|
|
},
|
|
|
"author": {
|
|
|
"type": "string",
|
|
|
"description": "发布人"
|
...
|
...
|
@@ -6317,7 +7112,7 @@ |
|
|
"format": "int32",
|
|
|
"description": "点赞数量"
|
|
|
},
|
|
|
"CountComment": {
|
|
|
"countComment": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "评论数量"
|
...
|
...
|
@@ -6344,11 +7139,12 @@ |
|
|
"required": [
|
|
|
"id",
|
|
|
"title",
|
|
|
"authorId",
|
|
|
"author",
|
|
|
"images",
|
|
|
"createdAt",
|
|
|
"countLove",
|
|
|
"CountComment",
|
|
|
"countComment",
|
|
|
"show",
|
|
|
"tags",
|
|
|
"targetUser"
|
...
|
...
|
@@ -6420,7 +7216,8 @@ |
|
|
"description": "标题"
|
|
|
},
|
|
|
"author": {
|
|
|
"type": "string",
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人"
|
|
|
},
|
|
|
"beginTime": {
|
...
|
...
|
@@ -6512,6 +7309,13 @@ |
|
|
},
|
|
|
"description": " 图片"
|
|
|
},
|
|
|
"video": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
},
|
|
|
"description": " 视频"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
...
|
...
|
@@ -6553,6 +7357,7 @@ |
|
|
"section",
|
|
|
"title",
|
|
|
"images",
|
|
|
"video",
|
|
|
"whoRead",
|
|
|
"whoReview",
|
|
|
"targetUser",
|
...
|
...
|
@@ -6593,6 +7398,13 @@ |
|
|
"format": "int32",
|
|
|
"description": "点赞数量"
|
|
|
},
|
|
|
"video": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
},
|
|
|
"description": " 视频"
|
|
|
},
|
|
|
"countComment": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
...
|
...
|
@@ -6625,6 +7437,7 @@ |
|
|
"images",
|
|
|
"createdAt",
|
|
|
"countLove",
|
|
|
"video",
|
|
|
"countComment",
|
|
|
"show",
|
|
|
"tags",
|
...
|
...
|
@@ -6712,6 +7525,40 @@ |
|
|
"countAdminLove"
|
|
|
]
|
|
|
},
|
|
|
"SystemEditCommentLoveRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"paramList": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/SystemEditLove"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemEditCommentLoveRequest",
|
|
|
"required": [
|
|
|
"paramList"
|
|
|
]
|
|
|
},
|
|
|
"SystemEditCommentLoveResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"paramList": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/SystemEditLove"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemEditCommentLoveResponse",
|
|
|
"required": [
|
|
|
"paramList"
|
|
|
]
|
|
|
},
|
|
|
"SystemEditCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -6728,6 +7575,9 @@ |
|
|
"format": "int32",
|
|
|
"description": "[1 显示评论] [2: 隐藏评论]"
|
|
|
},
|
|
|
"content": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"countAdminLove": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
...
|
...
|
@@ -6794,6 +7644,23 @@ |
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"SystemEditLove": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"countAdminLove": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemEditLove",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"SystemGetCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -6917,8 +7784,9 @@ |
|
|
"format": "int64",
|
|
|
"description": " 评论的顶层ID"
|
|
|
},
|
|
|
"fromUser": {
|
|
|
"type": "string",
|
|
|
"fromUserId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 用户"
|
|
|
},
|
|
|
"show": {
|
...
|
...
|
@@ -7430,6 +8298,11 @@ |
|
|
},
|
|
|
"other": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sortBy": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "排序"
|
|
|
}
|
|
|
},
|
|
|
"title": "TagCreateRequest",
|
...
|
...
|
@@ -7510,6 +8383,11 @@ |
|
|
},
|
|
|
"other": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sortBy": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 排序"
|
|
|
}
|
|
|
},
|
|
|
"title": "TagEditRequest",
|
...
|
...
|
@@ -7574,6 +8452,11 @@ |
|
|
},
|
|
|
"other": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sortBy": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 排序"
|
|
|
}
|
|
|
},
|
|
|
"title": "TagGetResponse",
|
...
|
...
|
@@ -7611,6 +8494,11 @@ |
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"sortBy": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 排序"
|
|
|
}
|
|
|
},
|
|
|
"title": "TagItem",
|
...
|
...
|
@@ -7846,6 +8734,11 @@ |
|
|
"$ref": "#/definitions/int",
|
|
|
"description": " 审核状态 0:待审核 1:审核通过 2:拒绝"
|
|
|
},
|
|
|
"auditAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 审核时间"
|
|
|
},
|
|
|
"followers": {
|
|
|
"type": "array",
|
|
|
"items": {
|
...
|
...
|
@@ -7889,6 +8782,7 @@ |
|
|
"position",
|
|
|
"enable",
|
|
|
"auditStatus",
|
|
|
"auditAt",
|
|
|
"followers",
|
|
|
"following",
|
|
|
"departments",
|
...
|
...
|
@@ -8027,22 +8921,58 @@ |
|
|
"properties": {
|
|
|
"totalArticle": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
"format": "int32",
|
|
|
"description": " 累计发布文章"
|
|
|
},
|
|
|
"totalComment": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
"format": "int32",
|
|
|
"description": " 累计发布评论"
|
|
|
},
|
|
|
"totalLoved": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
"format": "int32",
|
|
|
"description": " 累计赞别人"
|
|
|
},
|
|
|
"totalBeLoved": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 累计收到的赞"
|
|
|
}
|
|
|
},
|
|
|
"title": "UserStatisticsResponse",
|
|
|
"required": [
|
|
|
"totalArticle",
|
|
|
"totalComment",
|
|
|
"totalLoved"
|
|
|
"totalLoved",
|
|
|
"totalBeLoved"
|
|
|
]
|
|
|
},
|
|
|
"Video": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"url": {
|
|
|
"type": "string",
|
|
|
"description": "视频文件的地址"
|
|
|
},
|
|
|
"cover": {
|
|
|
"type": "string",
|
|
|
"description": "封面"
|
|
|
},
|
|
|
"width": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "封面图片宽"
|
|
|
},
|
|
|
"height": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "封面图片长"
|
|
|
}
|
|
|
},
|
|
|
"title": "Video",
|
|
|
"required": [
|
|
|
"url"
|
|
|
]
|
|
|
},
|
|
|
"WhichUserLikeArticle": {
|
...
|
...
|
|