...
|
...
|
@@ -127,6 +127,34 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article/set_tag": {
|
|
|
"post": {
|
|
|
"summary": "小程序设置文章的定性标签",
|
|
|
"operationId": "MiniArticleSetTag",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleSetTagResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleSetTagRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article/user_like/list": {
|
|
|
"post": {
|
|
|
"summary": "小程序获取文章的点赞人员列表",
|
...
|
...
|
@@ -293,6 +321,151 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
<<<<<<< HEAD
|
|
|
=======
|
|
|
"v1/mini/article_comment/at_who/list": {
|
|
|
"post": {
|
|
|
"summary": "小程序展示评论时@人可选列表",
|
|
|
"operationId": "MiniArticleCommentAtWho",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleCommentAtWhoResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleCommentAtWhoRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"comment"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article_comment/list": {
|
|
|
"post": {
|
|
|
"summary": "小程序展示文章的评论列表",
|
|
|
"operationId": "MiniListArticleComment",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniListArticleCommentResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniListArticleCommentRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"comment"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article_comment/top5": {
|
|
|
"post": {
|
|
|
"summary": "小程序展示文章的评论列表TOP5",
|
|
|
"operationId": "MiniTop5ArticleComment",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniTop5ArticleCommentResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniTop5ArticleCommentRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"comment"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article_comment/{id}": {
|
|
|
"get": {
|
|
|
"summary": "小程序展示单个文章的评论",
|
|
|
"operationId": "MiniGetArticleComment",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniGetArticleCommentResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "id",
|
|
|
"in": "path",
|
|
|
"required": true,
|
|
|
"type": "string"
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"comment"
|
|
|
]
|
|
|
},
|
|
|
"delete": {
|
|
|
"summary": "小程序展示删除文章评论",
|
|
|
"operationId": "MiniDeleteArticleComment",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniDeleteArticleCommentResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "id",
|
|
|
"in": "path",
|
|
|
"required": true,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniDeleteArticleCommentRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"comment"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
"v1/mini/article_draft": {
|
|
|
"post": {
|
|
|
"summary": "小程序创建文章进草稿箱",
|
...
|
...
|
@@ -430,6 +603,61 @@ |
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
<<<<<<< HEAD
|
|
|
=======
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article_tag/list/all": {
|
|
|
"get": {
|
|
|
"summary": "小程序所有的定性标签",
|
|
|
"operationId": "MiniAllArticleTag",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniAllArticleTagResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "",
|
|
|
"description": " 公司id",
|
|
|
"in": "query",
|
|
|
"required": false,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
{
|
|
|
"name": "",
|
|
|
"description": " 公司id",
|
|
|
"in": "query",
|
|
|
"required": false,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
{
|
|
|
"name": "articleId",
|
|
|
"description": " 文章id",
|
|
|
"in": "query",
|
|
|
"required": true,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
{
|
|
|
"name": "tagId",
|
|
|
"description": " 标签id",
|
|
|
"in": "query",
|
|
|
"required": true,
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
]
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -1075,6 +1303,34 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article/search/me": {
|
|
|
"post": {
|
|
|
"summary": "管理后台获取我发布的文章",
|
|
|
"operationId": "SystemArticleSearchMe",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleSearchMeResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleSearchMeRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article/{id}": {
|
|
|
"get": {
|
|
|
"summary": "管理后台获取文章内容详情",
|
...
|
...
|
@@ -1101,6 +1357,34 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article_comment/search/me": {
|
|
|
"post": {
|
|
|
"summary": "小程序获取回复@人可选列表",
|
|
|
"operationId": "SystemArticleCommentSearchMe",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleCommentSearchMeResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleCommentSearchMeRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"comment"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article_tag": {
|
|
|
"post": {
|
|
|
"summary": "后台创建文章标签",
|
...
|
...
|
@@ -1350,6 +1634,41 @@ |
|
|
"department"
|
|
|
]
|
|
|
},
|
|
|
<<<<<<< HEAD
|
|
|
=======
|
|
|
"delete": {
|
|
|
"summary": "部门-删除",
|
|
|
"operationId": "systemDelete",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/DepartmentGetResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "id",
|
|
|
"in": "path",
|
|
|
"required": true,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/DepartmentGetRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"department"
|
|
|
]
|
|
|
},
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
"put": {
|
|
|
"summary": "部门-更新",
|
|
|
"operationId": "systemUpdate",
|
...
|
...
|
@@ -1385,6 +1704,7 @@ |
|
|
},
|
|
|
"v1/system/role": {
|
|
|
"post": {
|
|
|
"summary": "角色新增",
|
|
|
"operationId": "systemSaveRole",
|
|
|
"responses": {
|
|
|
"200": {
|
...
|
...
|
@@ -1412,6 +1732,7 @@ |
|
|
},
|
|
|
"v1/system/role/search": {
|
|
|
"post": {
|
|
|
"summary": "角色列表搜索",
|
|
|
"operationId": "systemSearchRole",
|
|
|
"responses": {
|
|
|
"200": {
|
...
|
...
|
@@ -1439,6 +1760,7 @@ |
|
|
},
|
|
|
"v1/system/role/{id}": {
|
|
|
"get": {
|
|
|
"summary": "角色详情",
|
|
|
"operationId": "systemGetRole",
|
|
|
"responses": {
|
|
|
"200": {
|
...
|
...
|
@@ -1462,6 +1784,7 @@ |
|
|
]
|
|
|
},
|
|
|
"delete": {
|
|
|
"summary": "角色删除",
|
|
|
"operationId": "systemDeleteRole",
|
|
|
"responses": {
|
|
|
"200": {
|
...
|
...
|
@@ -1493,6 +1816,7 @@ |
|
|
]
|
|
|
},
|
|
|
"put": {
|
|
|
"summary": "角色更新",
|
|
|
"operationId": "systemUpdateRole",
|
|
|
"responses": {
|
|
|
"200": {
|
...
|
...
|
@@ -1770,12 +2094,146 @@ |
|
|
"company"
|
|
|
]
|
|
|
},
|
|
|
"ArticleSearchMe": {
|
|
|
<<<<<<< HEAD
|
|
|
=======
|
|
|
"ArticleCommentAndReply": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"comment": {
|
|
|
"$ref": "#/definitions/ArticleCommentItem",
|
|
|
"description": "评论"
|
|
|
},
|
|
|
"reply": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleCommentItem"
|
|
|
},
|
|
|
"description": "回复的评论"
|
|
|
},
|
|
|
"totalReply": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "回复的评论数量"
|
|
|
}
|
|
|
},
|
|
|
"title": "ArticleCommentAndReply",
|
|
|
"required": [
|
|
|
"comment",
|
|
|
"reply",
|
|
|
"totalReply"
|
|
|
]
|
|
|
},
|
|
|
"ArticleCommentItem": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"pid": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"topId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章id"
|
|
|
},
|
|
|
"sectionId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 段落id"
|
|
|
},
|
|
|
"fromUserId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 填写评论的人"
|
|
|
},
|
|
|
"fromUser": {
|
|
|
"$ref": "#/definitions/CommentAuthor",
|
|
|
"description": " 填写评论的人"
|
|
|
},
|
|
|
"toUserId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 回复哪个人"
|
|
|
},
|
|
|
"toUser": {
|
|
|
"$ref": "#/definitions/CommentAuthor",
|
|
|
"description": " 回复哪个人"
|
|
|
},
|
|
|
"sectionContent": {
|
|
|
"type": "string",
|
|
|
"description": " 引用的文章内容文本"
|
|
|
},
|
|
|
"countReply": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 回复数量"
|
|
|
},
|
|
|
"countUserLove": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 用户点赞数量"
|
|
|
},
|
|
|
"countAdminLove": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 运营点赞数量"
|
|
|
},
|
|
|
"atWho": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/CommentAtWho"
|
|
|
},
|
|
|
"description": " 填写评论时@的人"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"meLoveFlag": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "当前人员对评论的点赞标识 (0 没有点赞 1有点赞)"
|
|
|
},
|
|
|
"content": {
|
|
|
"type": "string",
|
|
|
"description": " 评论的内容"
|
|
|
}
|
|
|
},
|
|
|
"title": "ArticleCommentItem",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"pid",
|
|
|
"topId",
|
|
|
"articleId",
|
|
|
"sectionId",
|
|
|
"fromUserId",
|
|
|
"fromUser",
|
|
|
"toUserId",
|
|
|
"toUser",
|
|
|
"sectionContent",
|
|
|
"countReply",
|
|
|
"countUserLove",
|
|
|
"countAdminLove",
|
|
|
"atWho",
|
|
|
"createdAt",
|
|
|
"meLoveFlag",
|
|
|
"content"
|
|
|
]
|
|
|
},
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
"ArticleSearchMe": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "id"
|
|
|
},
|
|
|
"title": {
|
...
|
...
|
@@ -1852,6 +2310,27 @@ |
|
|
"totalComment"
|
|
|
]
|
|
|
},
|
|
|
"ArticleTagItem": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"group": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"title": "ArticleTagItem",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"group",
|
|
|
"name"
|
|
|
]
|
|
|
},
|
|
|
"Auth": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -1876,6 +2355,25 @@ |
|
|
"code"
|
|
|
]
|
|
|
},
|
|
|
<<<<<<< HEAD
|
|
|
=======
|
|
|
"CommentAtWho": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"title": "CommentAtWho",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
"CommentAuthor": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -1904,10 +2402,14 @@ |
|
|
"title": "CommentAuthor",
|
|
|
"required": [
|
|
|
"id",
|
|
|
<<<<<<< HEAD
|
|
|
"name",
|
|
|
"avatar",
|
|
|
"position",
|
|
|
"company"
|
|
|
=======
|
|
|
"name"
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
]
|
|
|
},
|
|
|
"Company": {
|
...
|
...
|
@@ -2112,12 +2614,28 @@ |
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
<<<<<<< HEAD
|
|
|
=======
|
|
|
},
|
|
|
"ids": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 用户ID"
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
}
|
|
|
},
|
|
|
"title": "DepartmentUpdateRequest",
|
|
|
"required": [
|
|
|
"id",
|
|
|
<<<<<<< HEAD
|
|
|
"name"
|
|
|
=======
|
|
|
"name",
|
|
|
"ids"
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
]
|
|
|
},
|
|
|
"FollowRequest": {
|
...
|
...
|
@@ -2363,6 +2881,58 @@ |
|
|
"total"
|
|
|
]
|
|
|
},
|
|
|
"MiniAllArticleTagRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 公司id"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 公司id"
|
|
|
},
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章id"
|
|
|
},
|
|
|
"tagId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 标签id"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniAllArticleTagRequest",
|
|
|
"required": [
|
|
|
"articleId",
|
|
|
"tagId"
|
|
|
]
|
|
|
},
|
|
|
"MiniAllArticleTagResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"tagGroup": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"tags": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleTagItem"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniAllArticleTagResponse",
|
|
|
"required": [
|
|
|
"tagGroup",
|
|
|
"tags"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleBackupItem": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -2465,6 +3035,45 @@ |
|
|
"type": "object",
|
|
|
"title": "MiniArticleCommentAtUserResponse"
|
|
|
},
|
|
|
<<<<<<< HEAD
|
|
|
=======
|
|
|
"MiniArticleCommentAtWhoRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleCommentAtWhoRequest",
|
|
|
"required": [
|
|
|
"articleId"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleCommentAtWhoResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/CommentAtWho"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleCommentAtWhoResponse",
|
|
|
"required": [
|
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
"MiniArticleCreateRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -3023,7 +3632,11 @@ |
|
|
"meLoveFlag": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
<<<<<<< HEAD
|
|
|
"description": "当前人员对文章的点赞标识"
|
|
|
=======
|
|
|
"description": " 当前人员对文章的点赞标识 (0 没有点赞 1有点赞)"
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleGetResponse",
|
...
|
...
|
@@ -3209,6 +3822,52 @@ |
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
<<<<<<< HEAD
|
|
|
=======
|
|
|
"MiniArticleSetTagRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 公司id"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 公司id"
|
|
|
},
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章id"
|
|
|
},
|
|
|
"tagId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 标签id"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleSetTagRequest",
|
|
|
"required": [
|
|
|
"articleId",
|
|
|
"tagId"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleSetTagResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleSetTagResponse",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
"MiniCreateArticleCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -3232,7 +3891,11 @@ |
|
|
"format": "int64",
|
|
|
"description": " 服务端自动获取"
|
|
|
},
|
|
|
<<<<<<< HEAD
|
|
|
"commnet": {
|
|
|
=======
|
|
|
"pid": {
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 回复那个评论的id"
|
...
|
...
|
@@ -3244,8 +3907,12 @@ |
|
|
"atWho": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
<<<<<<< HEAD
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
=======
|
|
|
"$ref": "#/definitions/CommentAtWho"
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
},
|
|
|
"description": " 填写评论时@的人"
|
|
|
}
|
...
|
...
|
@@ -3254,97 +3921,235 @@ |
|
|
"required": [
|
|
|
"articleId",
|
|
|
"sectionId",
|
|
|
<<<<<<< HEAD
|
|
|
"commnet",
|
|
|
=======
|
|
|
"pid",
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
"content",
|
|
|
"atWho"
|
|
|
]
|
|
|
},
|
|
|
"MiniCreateArticleCommentResponse": {
|
|
|
"MiniCreateArticleCommentResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"pid": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"topId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章id"
|
|
|
},
|
|
|
"sectionId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 段落id"
|
|
|
},
|
|
|
"fromUserId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 填写评论的人"
|
|
|
},
|
|
|
"fromUser": {
|
|
|
"$ref": "#/definitions/CommentAuthor",
|
|
|
"description": " 填写评论的人"
|
|
|
},
|
|
|
"toUserId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 回复哪个人"
|
|
|
},
|
|
|
"toUser": {
|
|
|
"$ref": "#/definitions/CommentAuthor",
|
|
|
"description": " 回复哪个人"
|
|
|
},
|
|
|
"sectionContent": {
|
|
|
"type": "string",
|
|
|
"description": " 引用的文章内容文本"
|
|
|
},
|
|
|
"countReply": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 回复数量"
|
|
|
},
|
|
|
"countUserLove": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 用户点赞数量"
|
|
|
},
|
|
|
"countAdminLove": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 运营点赞数量"
|
|
|
},
|
|
|
"atWho": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
<<<<<<< HEAD
|
|
|
"$ref": "#/definitions/CommentAuthor"
|
|
|
},
|
|
|
"description": " 填写评论时@的人"
|
|
|
=======
|
|
|
"$ref": "#/definitions/CommentAtWho"
|
|
|
},
|
|
|
"description": " 填写评论时@的人"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniCreateArticleCommentResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"pid",
|
|
|
"topId",
|
|
|
"articleId",
|
|
|
"sectionId",
|
|
|
"fromUserId",
|
|
|
"fromUser",
|
|
|
"toUserId",
|
|
|
"toUser",
|
|
|
"sectionContent",
|
|
|
"countReply",
|
|
|
"countUserLove",
|
|
|
"countAdminLove",
|
|
|
<<<<<<< HEAD
|
|
|
"atWho"
|
|
|
=======
|
|
|
"atWho",
|
|
|
"createdAt"
|
|
|
]
|
|
|
},
|
|
|
"MiniDeleteArticleCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniDeleteArticleCommentRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"MiniDeleteArticleCommentResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniDeleteArticleCommentResponse",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"MiniGetArticleCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"pid": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"topId": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"articleId": {
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniGetArticleCommentRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"MiniGetArticleCommentResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"": {
|
|
|
"$ref": "#/definitions/ArticleCommentAndReply"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniGetArticleCommentResponse"
|
|
|
},
|
|
|
"MiniListArticleCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章id"
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"sectionId": {
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 段落id"
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"fromUserId": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 填写评论的人"
|
|
|
},
|
|
|
"fromUser": {
|
|
|
"$ref": "#/definitions/CommentAuthor",
|
|
|
"description": " 填写评论的人"
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"toUserId": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 回复哪个人"
|
|
|
},
|
|
|
"toUser": {
|
|
|
"$ref": "#/definitions/CommentAuthor",
|
|
|
"description": " 回复哪个人"
|
|
|
},
|
|
|
"sectionContent": {
|
|
|
"type": "string",
|
|
|
"description": " 引用的文章内容文本"
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"countReply": {
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 回复数量"
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"countUserLove": {
|
|
|
"sectionId": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 用户点赞数量"
|
|
|
},
|
|
|
"countAdminLove": {
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniListArticleCommentRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size",
|
|
|
"articleId"
|
|
|
]
|
|
|
},
|
|
|
"MiniListArticleCommentResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 运营点赞数量"
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"atWho": {
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/CommentAuthor"
|
|
|
},
|
|
|
"description": " 填写评论时@的人"
|
|
|
"$ref": "#/definitions/ArticleCommentAndReply"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniCreateArticleCommentResponse",
|
|
|
"title": "MiniListArticleCommentResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"pid",
|
|
|
"topId",
|
|
|
"articleId",
|
|
|
"sectionId",
|
|
|
"fromUserId",
|
|
|
"fromUser",
|
|
|
"toUserId",
|
|
|
"toUser",
|
|
|
"sectionContent",
|
|
|
"countReply",
|
|
|
"countUserLove",
|
|
|
"countAdminLove",
|
|
|
"atWho"
|
|
|
"total",
|
|
|
"list"
|
|
|
>>>>>>> 77e95275539c30c5787295a0b7f7cd16a3263567
|
|
|
]
|
|
|
},
|
|
|
"MiniMyLikeRequest": {
|
...
|
...
|
@@ -3442,6 +4247,42 @@ |
|
|
"count"
|
|
|
]
|
|
|
},
|
|
|
"MiniTop5ArticleCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniTop5ArticleCommentRequest",
|
|
|
"required": [
|
|
|
"articleId"
|
|
|
]
|
|
|
},
|
|
|
"MiniTop5ArticleCommentResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleCommentItem"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniTop5ArticleCommentResponse",
|
|
|
"required": [
|
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
"MiniUserApplyJoinCompanyRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -4114,6 +4955,60 @@ |
|
|
"value"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleCommentSearchMeRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 用户"
|
|
|
},
|
|
|
"beginTime": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 开始时间"
|
|
|
},
|
|
|
"endTime": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 结束时间"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleCommentSearchMeRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size",
|
|
|
"authorId"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleCommentSearchMeResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleCommentItem"
|
|
|
}
|
|
|
},
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleCommentSearchMeResponse",
|
|
|
"required": [
|
|
|
"list",
|
|
|
"total"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleGetRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -4368,6 +5263,60 @@ |
|
|
"targetUser"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleSearchMeRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 用户"
|
|
|
},
|
|
|
"beginTime": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 开始时间"
|
|
|
},
|
|
|
"endTime": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 结束时间"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleSearchMeRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size",
|
|
|
"authorId"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleSearchMeResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleSearchMe"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleSearchMeResponse",
|
|
|
"required": [
|
|
|
"total",
|
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleSearchRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -4848,7 +5797,15 @@ |
|
|
},
|
|
|
"SystemUserInfoRequest": {
|
|
|
"type": "object",
|
|
|
"title": "SystemUserInfoRequest"
|
|
|
"properties": {
|
|
|
"Token": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemUserInfoRequest",
|
|
|
"required": [
|
|
|
"x-mmm-accesstoken"
|
|
|
]
|
|
|
},
|
|
|
"SystemUserInfoResponse": {
|
|
|
"type": "object",
|
...
|
...
|
@@ -4869,6 +5826,9 @@ |
|
|
},
|
|
|
"companyName": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"code": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemUserInfoResponse",
|
...
|
...
|
@@ -4877,7 +5837,8 @@ |
|
|
"userName",
|
|
|
"avatar",
|
|
|
"companyId",
|
|
|
"companyName"
|
|
|
"companyName",
|
|
|
"code"
|
|
|
]
|
|
|
},
|
|
|
"SystemUserSearchRequest": {
|
...
|
...
|
@@ -5443,28 +6404,35 @@ |
|
|
"itemFlag": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 1:他的帖子 2:他的评论/回复 4:他收到的赞 8:TA的圆桌讨论 16:被采纳"
|
|
|
"description": "0:默认查询所有 1:他的帖子 2:他的评论/回复 4:他收到的赞 8:TA的圆桌讨论 16:被采纳"
|
|
|
}
|
|
|
},
|
|
|
"title": "UserStatisticsRequest",
|
|
|
"required": [
|
|
|
"userId",
|
|
|
"itemFlag"
|
|
|
]
|
|
|
},
|
|
|
"UserStatisticsResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/StatisticsItem"
|
|
|
}
|
|
|
"totalArticle": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"totalComment": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"totalLoved": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "UserStatisticsResponse",
|
|
|
"required": [
|
|
|
"list"
|
|
|
"totalArticle",
|
|
|
"totalComment",
|
|
|
"totalLoved"
|
|
|
]
|
|
|
},
|
|
|
"WhichUserLikeArticle": {
|
...
|
...
|
|