...
|
...
|
@@ -333,6 +333,32 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article_backup/{id}": {
|
|
|
"get": {
|
|
|
"summary": "小程序获取文章的编辑记录",
|
|
|
"operationId": "MiniGetArticleBackup",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/MiniGetArticleBackupResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "id",
|
|
|
"in": "path",
|
|
|
"required": true,
|
|
|
"type": "string"
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/mini/article_comment": {
|
|
|
"post": {
|
|
|
"summary": "小程序填写文章的评论",
|
...
|
...
|
@@ -766,7 +792,7 @@ |
|
|
"v1/mini/homepage/user_beliked": {
|
|
|
"post": {
|
|
|
"summary": "个人主页-获赞的列表",
|
|
|
"operationId": "miniHomepageUserBeliked",
|
|
|
"operationId": "miniHomepageUserBeLiked",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
...
|
...
|
@@ -1722,6 +1748,58 @@ |
|
|
}
|
|
|
},
|
|
|
"v1/system/article": {
|
|
|
"delete": {
|
|
|
"summary": "管理后台删除文章",
|
|
|
"operationId": "SystemDeleteArticle",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDeleteResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDeleteRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
},
|
|
|
"post": {
|
|
|
"summary": "管理后台新增文章",
|
|
|
"operationId": "SystemCreateArticle",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleCreateResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleCreateRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
},
|
|
|
"put": {
|
|
|
"summary": "管理后台编辑帖子",
|
|
|
"operationId": "SystemUpdateArticle",
|
...
|
...
|
@@ -1750,6 +1828,196 @@ |
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article/deleted/list": {
|
|
|
"post": {
|
|
|
"summary": "管理后台已删除列表",
|
|
|
"operationId": "SystemArticleSearchDeleted",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleSearchDeletedResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleSearchDeletedRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article/deleted/restore": {
|
|
|
"put": {
|
|
|
"summary": "管理后台文章删除恢复",
|
|
|
"operationId": "SystemRestoreArticleDeleted",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDeletedRestoreResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDeletedRestoreRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article/draft": {
|
|
|
"delete": {
|
|
|
"summary": "管理后台删除草稿",
|
|
|
"operationId": "SystemDeleteArticleDraft",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDraftDeleteResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDraftDeleteRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
},
|
|
|
"post": {
|
|
|
"summary": "管理后台新增草稿",
|
|
|
"operationId": "SystemCreateArticleDraft",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDraftCreateResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDraftCreateRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
},
|
|
|
"put": {
|
|
|
"summary": "管理后台编辑草稿",
|
|
|
"operationId": "SystemUpdateArticleDraft",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDraftUpdateResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDraftUpdateRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article/draft/search": {
|
|
|
"post": {
|
|
|
"summary": "管理后台草稿列表",
|
|
|
"operationId": "SystemSearchArticleDraft",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDraftSearchResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "body",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDraftSearchRequest"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article/draft/{id}": {
|
|
|
"get": {
|
|
|
"summary": "管理后台获取草稿",
|
|
|
"operationId": "SystemGetArticleDraft",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "A successful response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/SystemArticleDraftGetResponse"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "id",
|
|
|
"in": "path",
|
|
|
"required": true,
|
|
|
"type": "string"
|
|
|
}
|
|
|
],
|
|
|
"requestBody": {},
|
|
|
"tags": [
|
|
|
"article"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"v1/system/article/history": {
|
|
|
"post": {
|
|
|
"summary": "管理后台编辑历史",
|
...
|
...
|
@@ -3808,12 +4076,31 @@ |
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"videos": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
}
|
|
|
},
|
|
|
"changeField": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"location": {
|
|
|
"$ref": "#/definitions/Location"
|
|
|
},
|
|
|
"action": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"show": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniArticleBackupItem",
|
...
|
...
|
@@ -3822,8 +4109,12 @@ |
|
|
"title",
|
|
|
"content",
|
|
|
"images",
|
|
|
"videos",
|
|
|
"changeField",
|
|
|
"createdAt",
|
|
|
"location"
|
|
|
"location",
|
|
|
"action",
|
|
|
"show"
|
|
|
]
|
|
|
},
|
|
|
"MiniArticleBackupSearchRequest": {
|
...
|
...
|
@@ -4991,7 +5282,7 @@ |
|
|
"type": "object",
|
|
|
"title": "MiniEditUserInfoResponse"
|
|
|
},
|
|
|
"MiniGetArticleCommentRequest": {
|
|
|
"MiniGetArticleBackupRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
...
|
...
|
@@ -5000,14 +5291,92 @@ |
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
"format": "int64",
|
|
|
"description": " 服务端自动获取"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniGetArticleCommentRequest",
|
|
|
"title": "MiniGetArticleBackupRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"MiniGetArticleBackupResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"content": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"videos": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
}
|
|
|
},
|
|
|
"changeField": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"location": {
|
|
|
"$ref": "#/definitions/Location"
|
|
|
},
|
|
|
"action": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"show": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniGetArticleBackupResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"title",
|
|
|
"content",
|
|
|
"images",
|
|
|
"videos",
|
|
|
"changeField",
|
|
|
"createdAt",
|
|
|
"location",
|
|
|
"action",
|
|
|
"show"
|
|
|
]
|
|
|
},
|
|
|
"MiniGetArticleCommentRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniGetArticleCommentRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
...
|
...
|
@@ -5114,6 +5483,9 @@ |
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniHomePageUserFollowerSearchRequest",
|
...
|
...
|
@@ -5210,10 +5582,14 @@ |
|
|
"format": "int32",
|
|
|
"description": " 数量"
|
|
|
},
|
|
|
"orderByHotScore": {
|
|
|
"orderByKey": {
|
|
|
"type": "string",
|
|
|
"default": "desc",
|
|
|
"description": " 热度排序 升序 asc 降序 desc"
|
|
|
"description": " 按规则排序 (热度:HotScore All:时间排序 Time:时间排序)"
|
|
|
},
|
|
|
"orderByValue": {
|
|
|
"type": "string",
|
|
|
"description": " 排序值 升序 asc 降序 desc"
|
|
|
},
|
|
|
"keywords": {
|
|
|
"type": "string",
|
...
|
...
|
@@ -5224,7 +5600,7 @@ |
|
|
"format": "int64",
|
|
|
"description": " 开始时间"
|
|
|
},
|
|
|
"beginTime": {
|
|
|
"endTime": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 结束时间"
|
...
|
...
|
@@ -5234,7 +5610,8 @@ |
|
|
"required": [
|
|
|
"authorId",
|
|
|
"size",
|
|
|
"orderByHotScore"
|
|
|
"orderByKey",
|
|
|
"orderByValue"
|
|
|
]
|
|
|
},
|
|
|
"MiniHomepageUserNewsResposne": {
|
...
|
...
|
@@ -5250,12 +5627,17 @@ |
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 最后文章ID"
|
|
|
},
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "MiniHomepageUserNewsResposne",
|
|
|
"required": [
|
|
|
"list",
|
|
|
"lastArticleId"
|
|
|
"lastArticleId",
|
|
|
"total"
|
|
|
]
|
|
|
},
|
|
|
"MiniListArticleCommentRequest": {
|
...
|
...
|
@@ -6080,6 +6462,25 @@ |
|
|
"comment"
|
|
|
]
|
|
|
},
|
|
|
"Operator": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 人员id"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
"description": " 人员的名字"
|
|
|
}
|
|
|
},
|
|
|
"title": "Operator",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"name"
|
|
|
]
|
|
|
},
|
|
|
"Position": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
...
|
...
|
@@ -6664,65 +7065,40 @@ |
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleGetHistoryRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "id"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleGetHistoryRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleGetHistoryResponse": {
|
|
|
"SystemArticleCreateRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " id"
|
|
|
},
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章ID"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": " 标题"
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"content": {
|
|
|
"type": "string",
|
|
|
"description": "文章的文本内容"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章的发布时间"
|
|
|
},
|
|
|
"section": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleSection"
|
|
|
},
|
|
|
"description": " 文章的文本内容"
|
|
|
"description": "发布人id"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": " 图片"
|
|
|
"description": "图片"
|
|
|
},
|
|
|
"video": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
}
|
|
|
},
|
|
|
"description": " 视频"
|
|
|
},
|
|
|
"targetUser": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
...
|
...
|
@@ -6730,14 +7106,7 @@ |
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 谁可查看"
|
|
|
},
|
|
|
"whoReadInfo": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/UserShowName"
|
|
|
},
|
|
|
"description": " 谁可查看"
|
|
|
"description": "谁可查看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
...
|
...
|
@@ -6745,52 +7114,33 @@ |
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 谁可评论"
|
|
|
},
|
|
|
"whoReviewInfo": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/UserShowName"
|
|
|
},
|
|
|
"description": " 谁可评论"
|
|
|
"description": "谁可评论"
|
|
|
},
|
|
|
"location": {
|
|
|
"$ref": "#/definitions/Location",
|
|
|
"description": " 定位坐标"
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 匹配文章内容中的url文本"
|
|
|
},
|
|
|
"targetUser": {
|
|
|
"articleDraftId": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
"format": "int64",
|
|
|
"description": " 草稿ID"
|
|
|
},
|
|
|
"tags": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 标签"
|
|
|
"AccessToken": {
|
|
|
"type": "string",
|
|
|
"description": " 授权token"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleGetHistoryResponse",
|
|
|
"title": "SystemArticleCreateRequest",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"articleId",
|
|
|
"title",
|
|
|
"createdAt",
|
|
|
"section",
|
|
|
"images",
|
|
|
"video",
|
|
|
"whoRead",
|
|
|
"whoReadInfo",
|
|
|
"whoReview",
|
|
|
"whoReviewInfo",
|
|
|
"location",
|
|
|
"content",
|
|
|
"authorId",
|
|
|
"targetUser",
|
|
|
"tags"
|
|
|
"articleDraftId",
|
|
|
"x-mmm-accesstoken"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleGetRequest": {
|
|
|
"SystemArticleCreateResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
...
|
...
|
@@ -6798,46 +7148,942 @@ |
|
|
"format": "int64",
|
|
|
"description": "id"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleGetRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleGetResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " id"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": " 标题"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 发布人id"
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"author": {
|
|
|
"$ref": "#/definitions/ArticleAuthor",
|
|
|
"description": " 发布人"
|
|
|
"content": {
|
|
|
"type": "string",
|
|
|
"description": "文章的文本内容"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章的发布时间"
|
|
|
"description": "发布人id"
|
|
|
},
|
|
|
"section": {
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleSection"
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "图片"
|
|
|
},
|
|
|
"video": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
},
|
|
|
"description": " 视频"
|
|
|
},
|
|
|
"targetUser": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可查看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可评论"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 匹配文章内容中的url文本"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleCreateResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"title",
|
|
|
"content",
|
|
|
"targetUser",
|
|
|
"matchUrl"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDeleteRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "id"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDeleteRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDeleteResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "id"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人id"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDeleteResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"title"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDeletedRestoreRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "ID"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDeletedRestoreRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDeletedRestoreResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "ID"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人id"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDeletedRestoreResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"title",
|
|
|
"authorId"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDraftCreateRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"content": {
|
|
|
"type": "string",
|
|
|
"description": "文章的文本内容"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人id"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "图片"
|
|
|
},
|
|
|
"video": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
},
|
|
|
"description": " 视频"
|
|
|
},
|
|
|
"targetUser": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可查看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可评论"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 匹配文章内容中的url文本"
|
|
|
},
|
|
|
"tags": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 标签"
|
|
|
},
|
|
|
"AccessToken": {
|
|
|
"type": "string",
|
|
|
"description": " 授权token"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDraftCreateRequest",
|
|
|
"required": [
|
|
|
"title",
|
|
|
"content",
|
|
|
"authorId",
|
|
|
"targetUser",
|
|
|
"tags",
|
|
|
"x-mmm-accesstoken"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDraftCreateResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "ID"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"content": {
|
|
|
"type": "string",
|
|
|
"description": "文章的文本内容"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人id"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "图片"
|
|
|
},
|
|
|
"video": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
},
|
|
|
"description": " 视频"
|
|
|
},
|
|
|
"targetUser": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可查看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可评论"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 匹配文章内容中的url文本"
|
|
|
},
|
|
|
"tags": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 标签"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDraftCreateResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"title",
|
|
|
"content",
|
|
|
"authorId",
|
|
|
"targetUser",
|
|
|
"tags"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDraftDeleteRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "ID"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDraftDeleteRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDraftDeleteResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "ID"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"content": {
|
|
|
"type": "string",
|
|
|
"description": "文章的文本内容"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人id"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "图片"
|
|
|
},
|
|
|
"video": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
},
|
|
|
"description": " 视频"
|
|
|
},
|
|
|
"targetUser": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可查看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可评论"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 匹配文章内容中的url文本"
|
|
|
},
|
|
|
"tags": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 标签"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDraftDeleteResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"title",
|
|
|
"content",
|
|
|
"authorId",
|
|
|
"targetUser",
|
|
|
"tags"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDraftGetRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "id"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "公司ID(前端不传)"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDraftGetRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDraftGetResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "ID"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"content": {
|
|
|
"type": "string",
|
|
|
"description": "文章的文本内容"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人id"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "图片"
|
|
|
},
|
|
|
"video": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
},
|
|
|
"description": " 视频"
|
|
|
},
|
|
|
"targetUser": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可查看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可评论"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 匹配文章内容中的url文本"
|
|
|
},
|
|
|
"tags": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 标签"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDraftGetResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"title",
|
|
|
"content",
|
|
|
"authorId",
|
|
|
"targetUser",
|
|
|
"tags"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDraftSearch": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "ID"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "图片"
|
|
|
},
|
|
|
"operator": {
|
|
|
"type": "string",
|
|
|
"description": "操作人"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人id"
|
|
|
},
|
|
|
"author": {
|
|
|
"type": "string",
|
|
|
"description": "发布人"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "编辑时间"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDraftSearch",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"title",
|
|
|
"images",
|
|
|
"operator",
|
|
|
"authorId",
|
|
|
"author",
|
|
|
"updatedAt"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDraftSearchRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "页码"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "每页行数"
|
|
|
},
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "公司ID(前端不传)"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"operator": {
|
|
|
"type": "string",
|
|
|
"description": "编辑人"
|
|
|
},
|
|
|
"beginTime": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "开始时间"
|
|
|
},
|
|
|
"endTime": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "结束时间"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDraftSearchRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDraftSearchResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/SystemArticleDraftSearch"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDraftSearchResponse",
|
|
|
"required": [
|
|
|
"total",
|
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDraftUpdateRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " ID"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"content": {
|
|
|
"type": "string",
|
|
|
"description": "文章的文本内容"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人id"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "图片"
|
|
|
},
|
|
|
"video": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
},
|
|
|
"description": " 视频"
|
|
|
},
|
|
|
"targetUser": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可查看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可评论"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 匹配文章内容中的url文本"
|
|
|
},
|
|
|
"tags": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 标签"
|
|
|
},
|
|
|
"AccessToken": {
|
|
|
"type": "string",
|
|
|
"description": " 授权token"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDraftUpdateRequest",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"title",
|
|
|
"content",
|
|
|
"authorId",
|
|
|
"targetUser",
|
|
|
"tags",
|
|
|
"x-mmm-accesstoken"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleDraftUpdateResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "ID"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"content": {
|
|
|
"type": "string",
|
|
|
"description": "文章的文本内容"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人id"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "图片"
|
|
|
},
|
|
|
"video": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
},
|
|
|
"description": " 视频"
|
|
|
},
|
|
|
"targetUser": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可查看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": "谁可评论"
|
|
|
},
|
|
|
"matchUrl": {
|
|
|
"type": "object",
|
|
|
"description": " 匹配文章内容中的url文本"
|
|
|
},
|
|
|
"tags": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 标签"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleDraftUpdateResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"title",
|
|
|
"content",
|
|
|
"authorId",
|
|
|
"targetUser",
|
|
|
"tags"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleGetHistoryRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "id"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleGetHistoryRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleGetHistoryResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " id"
|
|
|
},
|
|
|
"articleId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章ID"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": " 标题"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章的发布时间"
|
|
|
},
|
|
|
"section": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleSection"
|
|
|
},
|
|
|
"description": " 文章的文本内容"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": " 图片"
|
|
|
},
|
|
|
"video": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/Video"
|
|
|
}
|
|
|
},
|
|
|
"whoRead": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 谁可查看"
|
|
|
},
|
|
|
"whoReadInfo": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/UserShowName"
|
|
|
},
|
|
|
"description": " 谁可查看"
|
|
|
},
|
|
|
"whoReview": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 谁可评论"
|
|
|
},
|
|
|
"whoReviewInfo": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/UserShowName"
|
|
|
},
|
|
|
"description": " 谁可评论"
|
|
|
},
|
|
|
"location": {
|
|
|
"$ref": "#/definitions/Location",
|
|
|
"description": " 定位坐标"
|
|
|
},
|
|
|
"targetUser": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": " 分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
},
|
|
|
"tags": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"description": " 标签"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleGetHistoryResponse",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"articleId",
|
|
|
"title",
|
|
|
"createdAt",
|
|
|
"section",
|
|
|
"images",
|
|
|
"video",
|
|
|
"whoRead",
|
|
|
"whoReadInfo",
|
|
|
"whoReview",
|
|
|
"whoReviewInfo",
|
|
|
"location",
|
|
|
"targetUser",
|
|
|
"tags"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleGetRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "id"
|
|
|
},
|
|
|
"": {
|
|
|
"type": "integer",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleGetRequest",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleGetResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " id"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": " 标题"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 发布人id"
|
|
|
},
|
|
|
"author": {
|
|
|
"$ref": "#/definitions/ArticleAuthor",
|
|
|
"description": " 发布人"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": " 文章的发布时间"
|
|
|
},
|
|
|
"section": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/ArticleSection"
|
|
|
},
|
|
|
"description": " 文章的文本内容"
|
|
|
},
|
...
|
...
|
@@ -7107,6 +8353,11 @@ |
|
|
"format": "int64",
|
|
|
"description": "文章的创建日期"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "文章的编辑日期"
|
|
|
},
|
|
|
"countLove": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
...
|
...
|
@@ -7133,6 +8384,15 @@ |
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "分发方式 [0分发给所有人、1分发给指定的人]"
|
|
|
},
|
|
|
"operator": {
|
|
|
"$ref": "#/definitions/Operator",
|
|
|
"description": "运营操作人"
|
|
|
},
|
|
|
"source": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "来源[1用户发布、2运营发布]"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleSearch",
|
...
|
...
|
@@ -7143,11 +8403,134 @@ |
|
|
"author",
|
|
|
"images",
|
|
|
"createdAt",
|
|
|
"updatedAt",
|
|
|
"countLove",
|
|
|
"countComment",
|
|
|
"show",
|
|
|
"tags",
|
|
|
"targetUser"
|
|
|
"targetUser",
|
|
|
"operator",
|
|
|
"source"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleSearchDeletedItem": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "ID"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"images": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"description": "图片"
|
|
|
},
|
|
|
"authorId": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人id"
|
|
|
},
|
|
|
"author": {
|
|
|
"type": "string",
|
|
|
"description": "发布人"
|
|
|
},
|
|
|
"source": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "来源 1-用户发布 2-运营发布"
|
|
|
},
|
|
|
"deletedType": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "类型 1-运营删除 2-用户删除"
|
|
|
},
|
|
|
"deletedAt": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "删除时间"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleSearchDeletedItem",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"title",
|
|
|
"images",
|
|
|
"authorId",
|
|
|
"author",
|
|
|
"source",
|
|
|
"deletedType",
|
|
|
"deletedAt"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleSearchDeletedRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"page": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "页码"
|
|
|
},
|
|
|
"size": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "每页行数"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string",
|
|
|
"description": "标题"
|
|
|
},
|
|
|
"author": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "发布人"
|
|
|
},
|
|
|
"deletedType": {
|
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "类型 1-运营删除 2-用户删除"
|
|
|
},
|
|
|
"beginTime": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "开始时间"
|
|
|
},
|
|
|
"endTime": {
|
|
|
"type": "integer",
|
|
|
"format": "int64",
|
|
|
"description": "结束时间"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleSearchDeletedRequest",
|
|
|
"required": [
|
|
|
"page",
|
|
|
"size"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleSearchDeletedResponse": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"total": {
|
|
|
"type": "integer",
|
|
|
"format": "int32"
|
|
|
},
|
|
|
"list": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/SystemArticleSearchDeletedItem"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleSearchDeletedResponse",
|
|
|
"required": [
|
|
|
"total",
|
|
|
"list"
|
|
|
]
|
|
|
},
|
|
|
"SystemArticleSearchMeRequest": {
|
...
|
...
|
@@ -7247,6 +8630,10 @@ |
|
|
"type": "integer",
|
|
|
"format": "int32",
|
|
|
"description": "每页行数"
|
|
|
},
|
|
|
"orderMode": {
|
|
|
"type": "string",
|
|
|
"description": "排序方式"
|
|
|
}
|
|
|
},
|
|
|
"title": "SystemArticleSearchRequest",
|
...
|
...
|
@@ -7353,7 +8740,6 @@ |
|
|
"title": "SystemArticleUpdateRequest",
|
|
|
"required": [
|
|
|
"id",
|
|
|
"template",
|
|
|
"section",
|
|
|
"title",
|
|
|
"images",
|
...
|
...
|
|