...
|
...
|
@@ -43,6 +43,34 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article/mark/list": {
|
|
|
"post": {
|
|
|
"summary": "小程序获取文章浏览记录",
|
|
|
"operationId": "MiniArticleMarkList",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleMarkListResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleMarkListRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article/mark/user_read": {
|
|
|
"post": {
|
|
|
"summary": "小程序标记当前人员查看的文章",
|
...
|
...
|
@@ -209,6 +237,62 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article_comment": {
|
|
|
"post": {
|
|
|
"summary": "小程序填写文章的评论",
|
|
|
"operationId": "MiniCreateArticleComment",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniCreateArticleCommentResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniCreateArticleCommentRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"comment"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article_comment/at_user/select": {
|
|
|
"post": {
|
|
|
"summary": "小程序获取回复@人可选列表",
|
|
|
"operationId": "MiniArticleCommentAtUser",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleCommentAtUserResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleCommentAtUserRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"comment"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article_draft": {
|
|
|
"post": {
|
|
|
"summary": "小程序创建文章进草稿箱",
|
...
|
...
|
@@ -217,7 +301,7 @@ |
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleSearchMeResponse"
|
|
|
"$ref": "#/definitions/MiniArticleDraftCreateResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -227,7 +311,33 @@ |
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleSearchMeRequest"
|
|
|
"$ref": "#/definitions/MiniArticleDraftCreateRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
},
|
|
|
"put": {
|
|
|
"summary": "小程序更新文章草稿",
|
|
|
"operationId": "MiniUpdateArticleDraft",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleDraftUpdateResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleDraftUpdateRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -237,21 +347,89 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/comment": {
|
|
|
"v1/mini/article_draft/me/{id}": {
|
|
|
"get": {
|
|
|
"summary": "小程序评论",
|
|
|
"operationId": "miniComment",
|
|
|
"summary": "小程序获取我的草稿内容",
|
|
|
"operationId": "MiniGetArticleDraftMe",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/CommentResposne"
|
|
|
"$ref": "#/definitions/MiniArticleDraftGetMeResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "id",
|
|
|
"in": "path",
|
|
|
"required": true,
|
|
|
"type": "string"
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"comment"
|
|
|
"article"
|
|
|
]
|
|
|
},
|
|
|
"delete": {
|
|
|
"summary": "小程序删除我的草稿内容",
|
|
|
"operationId": "MiniDeleteArticleDraftMe",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleDraftDeleteMeResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "id",
|
|
|
"in": "path",
|
|
|
"required": true,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleDraftDeleteMeRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article_draft/search/me": {
|
|
|
"post": {
|
|
|
"summary": "小程序获取我的草稿箱列表",
|
|
|
"operationId": "MiniSearchArticleDraftMe",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleDraftSearchMeResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniArticleDraftSearchMeRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -811,6 +989,64 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article": {
|
|
|
"put": {
|
|
|
"summary": "管理后台编辑帖子",
|
|
|
"operationId": "SystemUpdateArticle",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleUpdateResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"description": "编辑",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleUpdateRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article/history": {
|
|
|
"post": {
|
|
|
"summary": "管理后台编辑历史",
|
|
|
"operationId": "SystemHistoryArticle",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleHistoryResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"description": "历史",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleHistoryRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article/search": {
|
|
|
"post": {
|
|
|
"summary": "管理后台获取文章列表",
|
...
|
...
|
@@ -1005,24 +1241,6 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/comment": {
|
|
|
"get": {
|
|
|
"summary": "系统评论",
|
|
|
"operationId": "systemComment",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/CommentResposne"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"comment"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/company/search": {
|
|
|
"post": {
|
|
|
"summary": "公司搜索",
|
...
|
...
|
@@ -1051,14 +1269,15 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/role": {
|
|
|
"v1/system/department/add": {
|
|
|
"post": {
|
|
|
"operationId": "systemSaveRole",
|
|
|
"summary": "部门-新增",
|
|
|
"operationId": "systemAdd",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleSaveResponse"
|
|
|
"$ref": "#/definitions/DepartmentGetResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -1068,24 +1287,25 @@ |
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleSaveRequest"
|
|
|
"$ref": "#/definitions/DepartmentAddRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"role"
|
|
|
"department"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/role/search": {
|
|
|
"v1/system/department/list": {
|
|
|
"post": {
|
|
|
"operationId": "systemSearchRole",
|
|
|
"summary": "部门列表",
|
|
|
"operationId": "systemList",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleSearchResponse"
|
|
|
"$ref": "#/definitions/DepartmentListResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -1095,24 +1315,25 @@ |
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleSearchRequest"
|
|
|
"$ref": "#/definitions/DepartmentListRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"role"
|
|
|
"department"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/role/{id}": {
|
|
|
"v1/system/department/{id}": {
|
|
|
"get": {
|
|
|
"operationId": "systemGetRole",
|
|
|
"summary": "部门-详情",
|
|
|
"operationId": "systemGet",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleGetResponse"
|
|
|
"$ref": "#/definitions/DepartmentGetResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -1126,16 +1347,17 @@ |
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"role"
|
|
|
"department"
|
|
|
]
|
|
|
},
|
|
|
"delete": {
|
|
|
"operationId": "systemDeleteRole",
|
|
|
"put": {
|
|
|
"summary": "部门-更新",
|
|
|
"operationId": "systemUpdate",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleDeleteResponse"
|
|
|
"$ref": "#/definitions/DepartmentGetResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -1151,38 +1373,34 @@ |
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleDeleteRequest"
|
|
|
"$ref": "#/definitions/DepartmentUpdateRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"role"
|
|
|
"department"
|
|
|
]
|
|
|
},
|
|
|
"put": {
|
|
|
"operationId": "systemUpdateRole",
|
|
|
}
|
|
|
},
|
|
|
"v1/system/role": {
|
|
|
"post": {
|
|
|
"operationId": "systemSaveRole",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleUpdateResponse"
|
|
|
"$ref": "#/definitions/RoleSaveResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "id",
|
|
|
"in": "path",
|
|
|
"required": true,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleUpdateRequest"
|
|
|
"$ref": "#/definitions/RoleSaveRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
...
|
...
|
@@ -1192,10 +1410,124 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/user/info": {
|
|
|
"v1/system/role/search": {
|
|
|
"post": {
|
|
|
"summary": "系统用户信息",
|
|
|
"operationId": "systemUserInfo",
|
|
|
"operationId": "systemSearchRole",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleSearchResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleSearchRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"role"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/role/{id}": {
|
|
|
"get": {
|
|
|
"operationId": "systemGetRole",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleGetResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "id",
|
|
|
"in": "path",
|
|
|
"required": true,
|
|
|
"type": "string"
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"role"
|
|
|
]
|
|
|
},
|
|
|
"delete": {
|
|
|
"operationId": "systemDeleteRole",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleDeleteResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "id",
|
|
|
"in": "path",
|
|
|
"required": true,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleDeleteRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"role"
|
|
|
]
|
|
|
},
|
|
|
"put": {
|
|
|
"operationId": "systemUpdateRole",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleUpdateResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "id",
|
|
|
"in": "path",
|
|
|
"required": true,
|
|
|
"type": "string"
|
|
|
},
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/RoleUpdateRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"role"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/user/info": {
|
|
|
"post": {
|
|
|
"summary": "系统用户信息",
|
|
|
"operationId": "systemUserInfo",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
...
|
...
|
@@ -1404,6 +1736,40 @@ |
|
|
"position"
|
|
|
]
|
|
|
},
|
|
|
"ArticleAuthor": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 人员id"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
"description": " 人员的名字"
|
|
|
},
|
|
|
"avatar": {
|
|
|
"type": "string",
|
|
|
"description": " 人员头像URL"
|
|
|
},
|
|
|
"position": {
|
|
|
"type": "string",
|
|
|
"description": " 职位"
|
|
|
},
|
|
|
"company": {
|
|
|
"type": "string",
|
|
|
"description": " 公司"
|
|
|
}
|
|
|
},
|
|
|
"title": "ArticleAuthor",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"name",
|
|
|
"avatar",
|
|
|
"position",
|
|
|
"company"
|
|
|
]
|
|
|
},
|
|
|
"ArticleSearchMe": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -1510,7 +1876,7 @@ |
|
|
"code"
|
|
|
]
|
|
|
},
|
|
|
"Author": {
|
|
|
"CommentAuthor": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
...
|
...
|
@@ -1526,10 +1892,6 @@ |
|
|
"type": "string",
|
|
|
"description": " 人员头像URL"
|
|
|
},
|
|
|
"group": {
|
|
|
"type": "string",
|
|
|
"description": " 人员的分组"
|
|
|
},
|
|
|
"position": {
|
|
|
"type": "string",
|
|
|
"description": " 职位"
|
...
|
...
|
@@ -1539,39 +1901,15 @@ |
|
|
"description": " 公司"
|
|
|
}
|
|
|
},
|
|
|
"title": "Author",
|
|
|
"title": "CommentAuthor",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"name",
|
|
|
"avatar",
|
|
|
"group",
|
|
|
"position",
|
|
|
"company"
|
|
|
]
|
|
|
},
|
|
|
"Comment": {
|
|
|
"type": "object",
|
|
|
"title": "Comment"
|
|
|
},
|
|
|
"CommentRequest": {
|
|
|
"type": "object",
|
|
|
"title": "CommentRequest"
|
|
|
},
|
|
|
"CommentResposne": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Comment"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "CommentResposne",
|
|
|
"required": [
|
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
"Company": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -1680,6 +2018,108 @@ |
|
|
"name"
|
|
|
]
|
|
|
},
|
|
|
"DepartmentAddRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
"description": " 分组名称"
|
|
|
},
|
|
|
"ids": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 用户ID"
|
|
|
}
|
|
|
},
|
|
|
"title": "DepartmentAddRequest",
|
|
|
"required": [
|
|
|
"name",
|
|
|
"ids"
|
|
|
]
|
|
|
},
|
|
|
"DepartmentGetRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "DepartmentGetRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"DepartmentGetResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"department": {
|
|
|
"$ref": "#/definitions/Department"
|
|
|
}
|
|
|
},
|
|
|
"title": "DepartmentGetResponse",
|
|
|
"required": [
|
|
|
"department"
|
|
|
]
|
|
|
},
|
|
|
"DepartmentListRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "DepartmentListRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size"
|
|
|
]
|
|
|
},
|
|
|
"DepartmentListResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Department"
|
|
|
}
|
|
|
},
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "DepartmentListResponse",
|
|
|
"required": [
|
|
|
"list",
|
|
|
"total"
|
|
|
]
|
|
|
},
|
|
|
"DepartmentUpdateRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"title": "DepartmentUpdateRequest",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"name"
|
|
|
]
|
|
|
},
|
|
|
"FollowRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -2008,12 +2448,29 @@ |
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleCreateRequest": {
|
|
|
"MiniArticleCommentAtUserRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleCommentAtUserRequest",
|
|
|
"required": [
|
|
|
"articleId"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleCommentAtUserResponse": {
|
|
|
"type": "object",
|
|
|
"title": "MiniArticleCommentAtUserResponse"
|
|
|
},
|
|
|
"MiniArticleCreateRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"section": {
|
|
|
"type": "array",
|
...
|
...
|
@@ -2077,12 +2534,21 @@ |
|
|
"MiniArticleDraftCreateRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 发布人"
|
|
|
},
|
|
|
"template": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式"
|
|
|
},
|
|
|
"content": {
|
|
|
"section": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
...
|
...
|
@@ -2091,27 +2557,359 @@ |
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
"description": " 标题"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "图片"
|
|
|
"description": " 图片"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 谁可以看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 评论人"
|
|
|
},
|
|
|
"location": {
|
|
|
"$ref": "#/definitions/Location",
|
|
|
"description": " 坐标"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftCreateRequest",
|
|
|
"required": [
|
|
|
"template",
|
|
|
"content",
|
|
|
"section",
|
|
|
"title",
|
|
|
"images"
|
|
|
"images",
|
|
|
"whoRead",
|
|
|
"whoReview",
|
|
|
"location"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftCreateResponse": {
|
|
|
"type": "object",
|
|
|
"title": "MiniArticleDraftCreateResponse"
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftCreateResponse",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftDeleteMeRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 公司id"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 发布人"
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftDeleteMeRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftDeleteMeResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftDeleteMeResponse",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftGetMeRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 公司id"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 发布人"
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftGetMeRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftGetMeResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"template": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式"
|
|
|
},
|
|
|
"Section": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": " 填写的内容"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": " 标题"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": " 图片"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 谁可以看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 评论人"
|
|
|
},
|
|
|
"location": {
|
|
|
"$ref": "#/definitions/Location",
|
|
|
"description": " 坐标"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftGetMeResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"template",
|
|
|
"Section",
|
|
|
"title",
|
|
|
"images",
|
|
|
"whoRead",
|
|
|
"whoReview",
|
|
|
"location"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftItem": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"template": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式"
|
|
|
},
|
|
|
"section": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": " 填写的内容"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": " 标题"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": " 图片"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftItem",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"template",
|
|
|
"section",
|
|
|
"title",
|
|
|
"images",
|
|
|
"createdAt"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftSearchMeRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 公司id"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 发布人"
|
|
|
},
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftSearchMeRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftSearchMeResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/MiniArticleDraftItem"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftSearchMeResponse",
|
|
|
"required": [
|
|
|
"total",
|
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftUpdateRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 发布人"
|
|
|
},
|
|
|
"template": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式"
|
|
|
},
|
|
|
"section": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": " 填写的内容"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": " 标题"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": " 图片"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 谁可以看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 评论人"
|
|
|
},
|
|
|
"location": {
|
|
|
"$ref": "#/definitions/Location",
|
|
|
"description": " 坐标"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftUpdateRequest",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"template",
|
|
|
"section",
|
|
|
"title",
|
|
|
"images",
|
|
|
"whoRead",
|
|
|
"whoReview",
|
|
|
"location"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleDraftUpdateResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleDraftUpdateResponse",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleGetRequest": {
|
|
|
"type": "object",
|
...
|
...
|
@@ -2123,7 +2921,13 @@ |
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
"format": "int64",
|
|
|
"description": "当前公司"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "当前用户"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleGetRequest",
|
...
|
...
|
@@ -2149,7 +2953,7 @@ |
|
|
"description": "发布人id"
|
|
|
},
|
|
|
"author": {
|
|
|
"$ref": "#/definitions/Author",
|
|
|
"$ref": "#/definitions/ArticleAuthor",
|
|
|
"description": "发布人"
|
|
|
},
|
|
|
"createdAt": {
|
...
|
...
|
@@ -2215,6 +3019,11 @@ |
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 文章是否存在变更记录 (0 不存在 1存在)"
|
|
|
},
|
|
|
"meLoveFlag": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "当前人员对文章的点赞标识"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleGetResponse",
|
...
|
...
|
@@ -2233,7 +3042,88 @@ |
|
|
"countComment",
|
|
|
"countRead",
|
|
|
"show",
|
|
|
"edit"
|
|
|
"edit",
|
|
|
"meLoveFlag"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleMarkItem": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"userId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"author": {
|
|
|
"$ref": "#/definitions/SimpleUser",
|
|
|
"description": " 发布人"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleMarkItem",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"companyId",
|
|
|
"userId",
|
|
|
"articleId",
|
|
|
"title",
|
|
|
"author",
|
|
|
"updatedAt"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleMarkListRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleMarkListRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleMarkListResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/MiniArticleMarkItem"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleMarkListResponse",
|
|
|
"required": [
|
|
|
"total",
|
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleMarkUserReadRequest": {
|
...
|
...
|
@@ -2273,50 +3163,188 @@ |
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleSearchMeRequest": {
|
|
|
"MiniArticleSearchMeRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleSearchMeRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleSearchMeResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleSearchMe"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleSearchMeResponse",
|
|
|
"required": [
|
|
|
"total",
|
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
"MiniCreateArticleCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章id"
|
|
|
},
|
|
|
"sectionId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 段落id"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 填写文章的人,服务端自动获取"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 服务端自动获取"
|
|
|
},
|
|
|
"commnet": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 回复那个评论的id"
|
|
|
},
|
|
|
"content": {
|
|
|
"type": "string",
|
|
|
"description": " 评论的内容"
|
|
|
},
|
|
|
"atWho": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 填写评论时@的人"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniCreateArticleCommentRequest",
|
|
|
"required": [
|
|
|
"articleId",
|
|
|
"sectionId",
|
|
|
"commnet",
|
|
|
"content",
|
|
|
"atWho"
|
|
|
]
|
|
|
},
|
|
|
"MiniCreateArticleCommentResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"pid": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"page": {
|
|
|
"topId": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"size": {
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleSearchMeRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleSearchMeResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"total": {
|
|
|
"format": "int64",
|
|
|
"description": " 文章id"
|
|
|
},
|
|
|
"sectionId": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
"format": "int64",
|
|
|
"description": " 段落id"
|
|
|
},
|
|
|
"list": {
|
|
|
"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/ArticleSearchMe"
|
|
|
}
|
|
|
"$ref": "#/definitions/CommentAuthor"
|
|
|
},
|
|
|
"description": " 填写评论时@的人"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleSearchMeResponse",
|
|
|
"title": "MiniCreateArticleCommentResponse",
|
|
|
"required": [
|
|
|
"total",
|
|
|
"list"
|
|
|
"id",
|
|
|
"pid",
|
|
|
"topId",
|
|
|
"articleId",
|
|
|
"sectionId",
|
|
|
"fromUserId",
|
|
|
"fromUser",
|
|
|
"toUserId",
|
|
|
"toUser",
|
|
|
"sectionContent",
|
|
|
"countReply",
|
|
|
"countUserLove",
|
|
|
"countAdminLove",
|
|
|
"atWho"
|
|
|
]
|
|
|
},
|
|
|
"MiniMyLikeRequest": {
|
...
|
...
|
@@ -3122,7 +4150,7 @@ |
|
|
"description": " 发布人id"
|
|
|
},
|
|
|
"author": {
|
|
|
"$ref": "#/definitions/Author",
|
|
|
"$ref": "#/definitions/ArticleAuthor",
|
|
|
"description": " 发布人"
|
|
|
},
|
|
|
"createdAt": {
|
...
|
...
|
@@ -3219,6 +4247,57 @@ |
|
|
"show"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleHistoryRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "文章ID"
|
|
|
},
|
|
|
"author": {
|
|
|
"type": "string",
|
|
|
"description": "发布人"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"type": "string",
|
|
|
"description": "修改日期"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleHistoryRequest",
|
|
|
"required": [
|
|
|
"articleId"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleHistoryResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "id"
|
|
|
},
|
|
|
"author": {
|
|
|
"type": "string",
|
|
|
"description": "编辑人"
|
|
|
},
|
|
|
"action": {
|
|
|
"type": "string",
|
|
|
"description": "编辑类型"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"type": "string",
|
|
|
"description": "编辑时间"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleHistoryResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"author",
|
|
|
"action",
|
|
|
"updatedAt"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleSearch": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -3296,19 +4375,36 @@ |
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"page": {
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"author": {
|
|
|
"type": "string",
|
|
|
"description": "发布人"
|
|
|
},
|
|
|
"publishDate": {
|
|
|
"type": "string",
|
|
|
"description": "发布日期"
|
|
|
},
|
|
|
"pageNumber": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
"format": "int32",
|
|
|
"description": "页码"
|
|
|
},
|
|
|
"size": {
|
|
|
"pageSize": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
"format": "int32",
|
|
|
"description": "每页行数"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleSearchRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size"
|
|
|
"title",
|
|
|
"author",
|
|
|
"publishDate",
|
|
|
"pageNumber",
|
|
|
"pageSize"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleSearchResponse": {
|
...
|
...
|
@@ -3331,6 +4427,149 @@ |
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleUpdateRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"template": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式"
|
|
|
},
|
|
|
"section": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleSection"
|
|
|
},
|
|
|
"description": " 填写的内容"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": " 标题"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": " 图片"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 谁可以看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 评论人"
|
|
|
},
|
|
|
"location": {
|
|
|
"$ref": "#/definitions/Location",
|
|
|
"description": " 坐标"
|
|
|
},
|
|
|
"targetUser": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleUpdateRequest",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"template",
|
|
|
"section",
|
|
|
"title",
|
|
|
"images",
|
|
|
"whoRead",
|
|
|
"whoReview",
|
|
|
"location",
|
|
|
"targetUser"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleUpdateResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "id"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"author": {
|
|
|
"type": "string",
|
|
|
"description": "发布人"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "图片"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "文章的创建日期"
|
|
|
},
|
|
|
"countLove": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "点赞数量"
|
|
|
},
|
|
|
"CountComment": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "评论数量"
|
|
|
},
|
|
|
"show": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "是否隐藏 [0显示、1不显示]"
|
|
|
},
|
|
|
"tags": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "标签"
|
|
|
},
|
|
|
"targetUser": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleUpdateResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"title",
|
|
|
"author",
|
|
|
"images",
|
|
|
"createdAt",
|
|
|
"countLove",
|
|
|
"CountComment",
|
|
|
"show",
|
|
|
"tags",
|
|
|
"targetUser"
|
|
|
]
|
|
|
},
|
|
|
"SystemUser": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -4185,8 +5424,7 @@ |
|
|
"format": "int32"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"title": "UserShowName",
|
...
|
...
|
|