{ "swagger": "2.0", "info": { "title": "", "version": "" }, "schemes": [ "http", "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "v1/clear": { "get": { "summary": "清理缓存", "operationId": "commonGetClearCache", "responses": { "200": { "description": "A successful response.", "schema": {} } }, "requestBody": {}, "tags": [ "common" ] } }, "v1/common/sms/code": { "post": { "summary": "短信验证码", "operationId": "commonSmsCode", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/CommonSmsCodeResposne" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/CommonSmsCodeRequest" } } ], "requestBody": {}, "tags": [ "common" ] } }, "v1/log/{module}": { "get": { "summary": "日志查询", "operationId": "commonGetLog", "responses": { "200": { "description": "A successful response.", "schema": {} } }, "parameters": [ { "name": "module", "in": "path", "required": true, "type": "string" } ], "requestBody": {}, "tags": [ "common" ] } }, "v1/mini/article": { "post": { "summary": "小程序创建发布内容", "operationId": "MiniCreateArticle", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniArticleCreateResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniArticleCreateRequest" } } ], "requestBody": {}, "tags": [ "article" ] } }, "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": "小程序标记当前人员查看的文章", "operationId": "MiniArticleMarkUserRead", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniArticleMarkUserReadResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniArticleMarkUserReadRequest" } } ], "requestBody": {}, "tags": [ "article" ] } }, "v1/mini/article/search/me": { "post": { "summary": "小程序获取我发布的文章", "operationId": "MiniArticleSearchMe", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniArticleSearchMeResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniArticleSearchMeRequest" } } ], "requestBody": {}, "tags": [ "article" ] } }, "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": "小程序获取文章的点赞人员列表", "operationId": "MiniUserLikeArticle", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniUserLikeArticleResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserLikeArticleRequest" } } ], "requestBody": {}, "tags": [ "article" ] } }, "v1/mini/article/user_like/set": { "post": { "summary": "小程序人员操作点赞文章/评论", "operationId": "MiniSetUserLike", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniSetUserLikeResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniSetUserLikeRequset" } } ], "requestBody": {}, "tags": [ "article" ] } }, "v1/mini/article/{id}": { "get": { "summary": "小程序获取文章内容详情", "operationId": "MiniGetArticle", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniArticleGetResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" } ], "requestBody": {}, "tags": [ "article" ] } }, "v1/mini/article_backup/search": { "post": { "summary": "小程序获取文章的编辑记录", "operationId": "MiniArticleBackupSearch", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniArticleBackupSearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniArticleBackupSearchRequest" } } ], "requestBody": {}, "tags": [ "article" ] } }, "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": "小程序填写文章的评论", "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_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/list_reply": { "post": { "summary": "小程序展示评论对应的一级回复列表", "operationId": "MiniListReplyArticleComment", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniListReplyArticleCommentResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniListReplyArticleCommentRequest" } } ], "requestBody": {}, "tags": [ "comment" ] } }, "v1/mini/article_comment/top5": { "post": { "summary": "小程序展示文章的评论列表TOP5", "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" ] } }, "v1/mini/article_draft": { "post": { "summary": "小程序创建文章进草稿箱", "operationId": "MiniCreateArticleDraft", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniArticleDraftCreateResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$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" } } ], "requestBody": {}, "tags": [ "article" ] } }, "v1/mini/article_draft/me/{id}": { "get": { "summary": "小程序获取我的草稿内容", "operationId": "MiniGetArticleDraftMe", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniArticleDraftGetMeResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" } ], "requestBody": {}, "tags": [ "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" ] } }, "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" } ], "requestBody": {}, "tags": [ "article" ] } }, "v1/mini/company/search": { "post": { "summary": "公司搜索(公开的)", "operationId": "miniCompanySearch", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/CompanySearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/CompanySearchRequest" } } ], "requestBody": {}, "tags": [ "company" ] } }, "v1/mini/company/search-joined": { "post": { "summary": "搜索已加入的公司", "operationId": "miniCompanySearchJoined", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/CompanySearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/CompanySearchRequest" } } ], "requestBody": {}, "tags": [ "company" ] } }, "v1/mini/homepage/user_beliked": { "post": { "summary": "个人主页-获赞的列表", "operationId": "miniHomepageUserBeLiked", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniHomePageUserBeLikedResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniHomePageUserBeLikedRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/homepage/user_follower": { "post": { "summary": "个人主页-关注我的人", "operationId": "miniHomepageUserFollower", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniHomePageUserFollowerSearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniHomePageUserFollowerSearchRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/homepage/user_info": { "post": { "summary": "个人主页用户信息", "operationId": "miniHomePageUserInfo", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniHomePageUserInfoResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniHomePageUserInfoRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/homepage/user_news": { "post": { "summary": "个人主页-用户发布的信息", "operationId": "miniHomepageUserNews", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniHomepageUserNewsResposne" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniHomepageUserNewsRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/message/comment": { "post": { "summary": "评论消息", "operationId": "miniComment", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MessageBusinessResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MessageRequest" } } ], "requestBody": {}, "tags": [ "message" ] } }, "v1/mini/message/like": { "post": { "summary": "点赞消息", "operationId": "miniLike", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MessageBusinessResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MessageRequest" } } ], "requestBody": {}, "tags": [ "message" ] } }, "v1/mini/message/system": { "post": { "summary": "系统消息", "operationId": "miniSystem", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MessageSystemResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MessageRequest" } } ], "requestBody": {}, "tags": [ "message" ] } }, "v1/mini/qrcode": { "post": { "summary": "微信二维码", "operationId": "miniQrcodeInvite", "responses": { "200": { "description": "A successful response.", "schema": {} } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniQrCodeRequest" } } ], "requestBody": {}, "tags": [ "common" ] } }, "v1/mini/show/home_page": { "get": { "summary": "小程序首页数据展示", "operationId": "MiniShowHomePage", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniHomePageResponse" } } }, "requestBody": {}, "tags": [ "article" ] } }, "v1/mini/show/search_article": { "post": { "summary": "小程序首页搜索文章", "operationId": "MiniSearchArticlePage", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniSearchArticleResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniSearchArticleRequest" } } ], "requestBody": {}, "tags": [ "article" ] } }, "v1/mini/user/apply_join_company": { "post": { "summary": "用户申请加入公司", "operationId": "miniUserApplyJoinCompany", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniUserApplyJoinCompanyResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserApplyJoinCompanyRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/audit": { "post": { "summary": "用户审核", "operationId": "miniUserAudit", "responses": { "200": { "description": "A successful response.", "schema": {} } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserAuditRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/audit_list": { "post": { "summary": "用户审核列表", "operationId": "miniUserAuditList", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/UserSearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/UserSearchRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/department_users": { "post": { "summary": "部门用户列表", "operationId": "miniUserDepartmentUsers", "responses": { "200": { "description": "A successful response.", "schema": {} } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserDepartmentUsersRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/follow": { "post": { "summary": "关注", "operationId": "miniUserFollow", "responses": { "200": { "description": "A successful response.", "schema": {} } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/FollowRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/follower": { "post": { "summary": "关注我的人", "operationId": "miniUserFollower", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniUserFollowedSearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserFollowedSearchRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/following": { "post": { "summary": "我关注的人", "operationId": "miniUserFollowing", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniUserFollowedSearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserFollowedSearchRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/following/latest_unread_list": { "post": { "summary": "我关注的人-最新未读列表(未读标红)", "operationId": "miniUserFollowingLatestUnreadList", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniUserFollowedSearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserFollowedSearchRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/following/mark_read": { "post": { "summary": "我关注的人-标记已读", "operationId": "miniUserFollowingMarkRead", "responses": { "200": { "description": "A successful response.", "schema": {} } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserFollowingMarkReadRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/info": { "post": { "summary": "用户信息", "operationId": "miniUserInfo", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniUserInfoResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserInfoRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/info/edit": { "post": { "summary": "编辑用户信息", "operationId": "miniEditUserInfo", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniEditUserInfoResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniEditUserInfoRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/login": { "post": { "summary": "用户登录", "operationId": "miniUserLogin", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniUserLoginResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserLoginRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/my_following_news": { "post": { "summary": "我关注人发布的信息", "operationId": "miniUserMyFollowingNews", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniUserNewsResposne" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserNewsRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/mybeliked": { "post": { "summary": "我被点赞-文章或评论列表", "operationId": "miniMyBeLiked", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniBeLikedResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniBeLikedRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/mylike": { "post": { "summary": "我点赞的-文章或评论列表", "operationId": "miniMyLike", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniMyLikeResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniMyLikeRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/news": { "post": { "summary": "用户快讯", "operationId": "miniUserNews", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniUserNewsResposne" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserNewsRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/statistics": { "post": { "summary": "用户统计", "operationId": "miniUserStatistics", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/UserStatisticsResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/UserStatisticsRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/switch_account": { "post": { "summary": "切换账号", "operationId": "miniUserSwitchAccount", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/MiniUserLoginResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUserSwitchAccountRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/unfollow": { "post": { "summary": "取消关注", "operationId": "miniUserUnFollow", "responses": { "200": { "description": "A successful response.", "schema": {} } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/FollowRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/mini/user/user_list": { "post": { "summary": "用户列表", "operationId": "miniUsersList", "responses": { "200": { "description": "A successful response.", "schema": {} } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUsersListRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/system/account": { "post": { "summary": "系统新增账号", "operationId": "systemUserAccountSave", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemUserAccountSaveResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemUserAccountSaveRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/system/account/enable": { "post": { "summary": "系统启用/禁用账号", "operationId": "systemUserAccountEnable", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemUserAccountEnableResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemUserAccountEnableRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/system/account/search": { "post": { "summary": "系统搜索账号", "operationId": "systemUserAccountSearch", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemUserAccountSearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemUserAccountSearchRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/system/account/{id}": { "get": { "summary": "系统账号详情", "operationId": "systemUserAccountGet", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemUserAccountGetResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" } ], "requestBody": {}, "tags": [ "user" ] }, "put": { "summary": "系统更新账号", "operationId": "systemUserAccountUpdate", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemUserAccountUpdateResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemUserAccountUpdateRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "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", "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/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": "管理后台编辑历史", "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/history/{id}": { "get": { "summary": "管理后台帖子历史详情", "operationId": "SystemArticleGetHistory", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemArticleGetHistoryResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" } ], "requestBody": {}, "tags": [ "article" ] } }, "v1/system/article/restore": { "post": { "summary": "管理后台文章恢复", "operationId": "SystemArticleRestore", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemArticleRestoreResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemArticleRestoreRequest" } } ], "requestBody": {}, "tags": [ "article" ] } }, "v1/system/article/search": { "post": { "summary": "管理后台获取文章列表", "operationId": "SystemSearchArticle", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemArticleSearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemArticleSearchRequest" } } ], "requestBody": {}, "tags": [ "article" ] } }, "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": "管理后台获取文章内容详情", "operationId": "SystemGetArticle", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemArticleGetResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" } ], "requestBody": {}, "tags": [ "article" ] } }, "v1/system/article_category": { "post": { "summary": "标签分类保存", "operationId": "articleCategorySave", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/ArticleCategorySaveResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ArticleCategorySaveRequest" } } ], "requestBody": {}, "tags": [ "tags" ] } }, "v1/system/article_category/options": { "get": { "summary": "标签分类下拉列表", "operationId": "articleCategoryOptions", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/CategoryOptionsResponse" } } }, "requestBody": {}, "tags": [ "tags" ] } }, "v1/system/article_category/search": { "post": { "summary": "标签分类搜索", "operationId": "articleCategorySearch", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/ArticleCategorySearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ArticleCategorySearchRequest" } } ], "requestBody": {}, "tags": [ "tags" ] } }, "v1/system/article_category/{id}": { "get": { "summary": "标签分类详情", "operationId": "articleCategoryGet", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/ArticleCategoryGetResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" } ], "requestBody": {}, "tags": [ "tags" ] }, "delete": { "summary": "标签分类删除", "operationId": "articleCategoryDelete", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/ArticleCategoryDeleteResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ArticleCategoryDeleteRequest" } } ], "requestBody": {}, "tags": [ "tags" ] }, "put": { "summary": "标签分类更新", "operationId": "articleCategoryUpdate", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/ArticleCategoryUpdateResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/ArticleCategoryUpdateRequest" } } ], "requestBody": {}, "tags": [ "tags" ] } }, "v1/system/article_comment/edit": { "post": { "summary": "管理后台变更评论", "operationId": "SystemEditAticleComment", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemEditCommentResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemEditCommentRequest" } } ], "requestBody": {}, "tags": [ "comment" ] } }, "v1/system/article_comment/edit/love": { "post": { "summary": "编辑评论的运营点赞数", "operationId": "SystemEditAticleCommentLove", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemEditCommentLoveResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemEditCommentLoveRequest" } } ], "requestBody": {}, "tags": [ "comment" ] } }, "v1/system/article_comment/edit_show": { "post": { "summary": "管理后台变更评论的显示状态", "operationId": "SystemEditAticleCommentShow", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemEditCommentShowResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemEditCommentShowRequest" } } ], "requestBody": {}, "tags": [ "comment" ] } }, "v1/system/article_comment/list": { "post": { "summary": "管理后台查看所有的评论", "operationId": "SystemListAticleComment", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemListCommentResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemListCommentRequest" } } ], "requestBody": {}, "tags": [ "comment" ] } }, "v1/system/article_comment/search": { "post": { "summary": "管理后台文章评论列表", "operationId": "SystemArticleCommentSearch", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemArticleCommentSearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemArticleCommentSearchRequest" } } ], "requestBody": {}, "tags": [ "comment" ] } }, "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_comment/{id}": { "get": { "summary": "管理后台评论的详情", "operationId": "SystemGetAticleComment", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemGetCommentResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" } ], "requestBody": {}, "tags": [ "comment" ] } }, "v1/system/article_tag": { "post": { "summary": "后台创建文章标签", "operationId": "CreateTag", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/TagCreateResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/TagCreateRequest" } } ], "requestBody": {}, "tags": [ "tags" ] }, "put": { "summary": "后台编辑文章标签", "operationId": "EditTag", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/TagEditResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/TagEditRequest" } } ], "requestBody": {}, "tags": [ "tags" ] } }, "v1/system/article_tag/options": { "get": { "summary": "后台标签下拉列表", "operationId": "Options", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/TagOptionsResponse" } } }, "requestBody": {}, "tags": [ "tags" ] } }, "v1/system/article_tag/search": { "post": { "summary": "后台搜索标签", "operationId": "SearchTag", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/TagListResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/TagListRequest" } } ], "requestBody": {}, "tags": [ "tags" ] } }, "v1/system/article_tag/{id}": { "get": { "summary": "后台获取文章标签", "operationId": "GetTag", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/TagGetResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" } ], "requestBody": {}, "tags": [ "tags" ] }, "delete": { "summary": "后台删除文章标签", "operationId": "DeleteTag", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/TagDeleteResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/TagDeleteRequest" } } ], "requestBody": {}, "tags": [ "tags" ] } }, "v1/system/company/positions/search": { "post": { "summary": "公司职位搜索", "operationId": "systemCompanyPositionsSearch", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/CompanyPositionsSearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/CompanyPositionsSearchRequest" } } ], "requestBody": {}, "tags": [ "company" ] } }, "v1/system/company/search": { "post": { "summary": "公司搜索", "operationId": "systemCompanySearch", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/CompanySearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/CompanySearchRequest" } } ], "requestBody": {}, "tags": [ "company" ] } }, "v1/system/company/visible_switch": { "post": { "summary": "公司可见开关", "operationId": "systemCompanyVisibleSwitch", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/CompanyVisibleSwitchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/CompanyVisibleSwitchRequest" } } ], "requestBody": {}, "tags": [ "company" ] } }, "v1/system/department/add": { "post": { "summary": "部门-新增", "operationId": "systemAdd", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/DepartmentGetResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/DepartmentAddRequest" } } ], "requestBody": {}, "tags": [ "department" ] } }, "v1/system/department/list": { "post": { "summary": "部门列表", "operationId": "systemList", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/DepartmentListResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/DepartmentListRequest" } } ], "requestBody": {}, "tags": [ "department" ] } }, "v1/system/department/{id}": { "get": { "summary": "部门-详情", "operationId": "systemGet", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/DepartmentGetResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" } ], "requestBody": {}, "tags": [ "department" ] }, "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" ] }, "put": { "summary": "部门-更新", "operationId": "systemUpdate", "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/DepartmentUpdateRequest" } } ], "requestBody": {}, "tags": [ "department" ] } }, "v1/system/role": { "post": { "summary": "角色新增", "operationId": "systemSaveRole", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/RoleSaveResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/RoleSaveRequest" } } ], "requestBody": {}, "tags": [ "role" ] } }, "v1/system/role/auths": { "get": { "summary": "角色权限列表", "operationId": "systemGetRoleAuths", "responses": { "200": { "description": "A successful response.", "schema": {} } }, "requestBody": {}, "tags": [ "role" ] } }, "v1/system/role/search": { "post": { "summary": "角色列表搜索", "operationId": "systemSearchRole", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/RoleSearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/RoleSearchRequest" } } ], "requestBody": {}, "tags": [ "role" ] } }, "v1/system/role/{id}": { "get": { "summary": "角色详情", "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": { "summary": "角色删除", "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": { "summary": "角色更新", "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.", "schema": { "$ref": "#/definitions/SystemUserInfoResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemUserInfoRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/system/user/search": { "post": { "summary": "搜索用户", "operationId": "systemUserSearch", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemUserSearchResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemUserSearchRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/system/user/statistics": { "post": { "summary": "用户统计", "operationId": "systemUserStatistics", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/UserStatisticsResponse" } } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/UserStatisticsRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/system/user/user_list": { "post": { "summary": "用户列表", "operationId": "systemUsersList", "responses": { "200": { "description": "A successful response.", "schema": {} } }, "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/MiniUsersListRequest" } } ], "requestBody": {}, "tags": [ "user" ] } }, "v1/system/user/{id}": { "get": { "summary": "用户详情", "operationId": "systemUserGet", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemUserGetResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" } ], "requestBody": {}, "tags": [ "user" ] }, "put": { "summary": "更新用户", "operationId": "systemUserUpdate", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/SystemUserUpdateResponse" } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "type": "string" }, { "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/SystemUserUpdateRequest" } } ], "requestBody": {}, "tags": [ "user" ] } } }, "definitions": { "Account": { "type": "object", "properties": { "companyId": { "type": "integer", "format": "int64", "description": " 公司ID" }, "companyName": { "type": "string", "description": " 公司名称" }, "logo": { "type": "string", "description": " 公司图标" }, "userId": { "type": "integer", "format": "int64", "description": " 用户ID" }, "name": { "type": "string", "description": " 名称" }, "position": { "type": "string", "description": " 职位" } }, "title": "Account", "required": [ "companyId", "companyName", "logo", "userId", "name", "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" ] }, "ArticleCategoryDeleteRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "ArticleCategoryDeleteRequest", "required": [ "id" ] }, "ArticleCategoryDeleteResponse": { "type": "object", "title": "ArticleCategoryDeleteResponse" }, "ArticleCategoryGetRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "ArticleCategoryGetRequest", "required": [ "id" ] }, "ArticleCategoryGetResponse": { "type": "object", "properties": { "category": { "$ref": "#/definitions/ArticleCategoryItem" } }, "title": "ArticleCategoryGetResponse", "required": [ "category" ] }, "ArticleCategoryItem": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": " 唯一标识" }, "companyId": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "sortBy": { "type": "integer", "format": "int32", "description": " 排序" }, "enable": { "type": "integer", "format": "int32", "description": " 启用状态 1:启用 2:禁用" }, "other": { "type": "string", "description": " 其他备注说明" } }, "title": "ArticleCategoryItem", "required": [ "companyId", "name", "sortBy", "enable", "other" ] }, "ArticleCategorySaveRequest": { "type": "object", "properties": { "category": { "$ref": "#/definitions/ArticleCategoryItem" } }, "title": "ArticleCategorySaveRequest", "required": [ "category" ] }, "ArticleCategorySaveResponse": { "type": "object", "title": "ArticleCategorySaveResponse" }, "ArticleCategorySearchRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" } }, "title": "ArticleCategorySearchRequest", "required": [ "page", "size" ] }, "ArticleCategorySearchResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/ArticleCategoryItem" } }, "total": { "type": "integer", "format": "int64" } }, "title": "ArticleCategorySearchResponse", "required": [ "list", "total" ] }, "ArticleCategoryUpdateRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "category": { "$ref": "#/definitions/ArticleCategoryItem" } }, "title": "ArticleCategoryUpdateRequest", "required": [ "id", "category" ] }, "ArticleCategoryUpdateResponse": { "type": "object", "title": "ArticleCategoryUpdateResponse" }, "ArticleCommentAndReply": { "type": "object", "properties": { "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": " 填写评论时@的人" }, "matchUrl": { "type": "object", "description": " 评论内容中的url文本" }, "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", "matchUrl", "createdAt", "meLoveFlag", "content" ] }, "ArticleSearchMe": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "id" }, "title": { "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": "评论数量" }, "countRead": { "type": "integer", "format": "int32", "description": "浏览数量" }, "show": { "type": "integer", "format": "int32", "description": "是否隐藏 [0显示、1不显示]" } }, "title": "ArticleSearchMe", "required": [ "id", "title", "images", "createdAt", "countLove", "countComment", "countRead", "show" ] }, "ArticleSection": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "段落id" }, "content": { "type": "string", "description": " 文本内容" }, "sortBy": { "type": "integer", "format": "int32", "description": " 排序" }, "totalComment": { "type": "integer", "format": "int32", "description": " 评论的数量" } }, "title": "ArticleSection", "required": [ "id", "content", "sortBy", "totalComment" ] }, "ArticleTagCount": { "type": "object", "properties": { "tagCategory": { "type": "string", "description": " 标签分组" }, "tagId": { "type": "integer", "format": "int64", "description": " 标签id" }, "tagImage": { "type": "string", "description": " 对应的图标" }, "tagName": { "type": "string", "description": " 标签名称" }, "tagRemark": { "type": "string", "description": " 标签备注" }, "totalArticle": { "type": "integer", "format": "int32", "description": " 总的文章数量" }, "readArticle": { "type": "integer", "format": "int32", "description": " 已读的标签数量" }, "sortBy": { "type": "integer", "format": "int32", "description": " 排序" } }, "title": "ArticleTagCount", "required": [ "tagCategory", "tagId", "tagImage", "tagName", "tagRemark", "totalArticle", "readArticle", "sortBy" ] }, "ArticleTagGroup": { "type": "object", "properties": { "category": { "type": "string" }, "tags": { "type": "array", "items": { "$ref": "#/definitions/ArticleTagItem" } } }, "title": "ArticleTagGroup", "required": [ "category", "tags" ] }, "ArticleTagItem": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "category": { "type": "string" }, "name": { "type": "string" }, "image": { "type": "string" }, "sortBy": { "type": "integer", "format": "int32" } }, "title": "ArticleTagItem", "required": [ "id", "category", "name", "image", "sortBy" ] }, "Auth": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": " ID" }, "name": { "type": "string", "description": " 名称" }, "code": { "type": "string", "description": " 编码" } }, "title": "Auth", "required": [ "id", "name", "code" ] }, "CategoryOptionValue": { "type": "object", "properties": { "label": { "type": "string", "description": " 名称" }, "value": { "type": "integer", "format": "int64", "description": " 分类ID" } }, "title": "CategoryOptionValue", "required": [ "label", "value" ] }, "CategoryOptions": { "type": "object", "properties": { "value": { "type": "integer", "format": "int64", "description": " 分类ID" }, "label": { "type": "string", "description": " 分组名称" } }, "title": "CategoryOptions", "required": [ "value", "label" ] }, "CategoryOptionsRequest": { "type": "object", "properties": { "": { "type": "integer", "format": "int64", "description": " 公司ID" } }, "title": "CategoryOptionsRequest" }, "CategoryOptionsResponse": { "type": "object", "properties": { "options": { "type": "array", "items": { "$ref": "#/definitions/CategoryOptions" } } }, "title": "CategoryOptionsResponse", "required": [ "options" ] }, "CommentAtWho": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "avatar": { "type": "string", "description": " 人员头像URL" }, "name": { "type": "string" }, "firstLetter": { "type": "string" } }, "title": "CommentAtWho", "required": [ "id" ] }, "CommentAuthor": { "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": "CommentAuthor", "required": [ "id", "name" ] }, "CommonSmsCodeRequest": { "type": "object", "properties": { "phone": { "type": "string" } }, "title": "CommonSmsCodeRequest", "required": [ "phone" ] }, "CommonSmsCodeResposne": { "type": "object", "title": "CommonSmsCodeResposne" }, "Company": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": " 唯一标识" }, "name": { "type": "string", "description": " 名称" }, "code": { "type": "string", "description": " 编码(搜索使用,4位字母数字)" }, "logo": { "type": "string", "description": " 公司LOGO" }, "joinedFlag": { "type": "integer", "format": "int32", "description": " 已加入标识(1:已加入 其他:未加入)" } }, "title": "Company", "required": [ "id", "name", "code", "logo", "joinedFlag" ] }, "CompanyPositionsSearchRequest": { "type": "object", "title": "CompanyPositionsSearchRequest" }, "CompanyPositionsSearchResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/Position" } }, "total": { "type": "integer", "format": "int64" } }, "title": "CompanyPositionsSearchResponse", "required": [ "list", "total" ] }, "CompanySearchRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "flag": { "type": "integer", "format": "int32", "description": " 1:用户已加入的 2:用户未加入的公司" }, "userId": { "type": "integer", "format": "int64", "description": " 按用户搜索(用户所加入的企业)" }, "code": { "type": "string", "description": " 按编码搜索" }, "content": { "type": "string", "description": " 按公司名/编码搜索" } }, "title": "CompanySearchRequest" }, "CompanySearchResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/Company" } }, "total": { "type": "integer", "format": "int64" } }, "title": "CompanySearchResponse", "required": [ "list", "total" ] }, "CompanyVisibleSwitchRequest": { "type": "object", "properties": { "visible": { "type": "boolean", "format": "boolean", "description": " 可见性 true:可被搜索 false:不可被搜索" } }, "title": "CompanyVisibleSwitchRequest", "required": [ "visible" ] }, "CompanyVisibleSwitchResponse": { "type": "object", "title": "CompanyVisibleSwitchResponse" }, "Department": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": " 部门ID" }, "companyId": { "type": "integer", "format": "int64", "description": " 公司ID" }, "parentId": { "type": "integer", "format": "int64", "description": " 父级ID" }, "name": { "type": "string", "description": " 部门名称" }, "userIds": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 部门下的用户" } }, "title": "Department", "required": [ "id", "companyId", "parentId", "name", "userIds" ] }, "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" }, "ids": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 用户ID" } }, "title": "DepartmentUpdateRequest", "required": [ "id", "name", "ids" ] }, "FollowRequest": { "type": "object", "properties": { "userId": { "type": "integer", "format": "int64" } }, "title": "FollowRequest", "required": [ "userId" ] }, "Location": { "type": "object", "properties": { "longitude": { "type": "number", "format": "double", "description": "经度" }, "latitude": { "type": "number", "format": "double", "description": "纬度" }, "descript": { "type": "string", "description": "地点描述" } }, "title": "Location" }, "MessageBusinessItem": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "type": { "type": "integer", "format": "int32", "description": " 分类 (1回复 2点赞 3被采纳)" }, "optType": { "type": "integer", "format": "int32", "description": " 操作类型(1针对文章或段落、2针对评论、3针对圆桌)" }, "companyId": { "type": "integer", "format": "int64", "description": " 操作人公司ID" }, "userId": { "type": "integer", "format": "int64", "description": " 操作人用户ID" }, "recipientId": { "type": "integer", "format": "int64", "description": " 接收者ID" }, "articleId": { "type": "integer", "format": "int64", "description": " 文章ID" }, "createdAt": { "type": "integer", "format": "int64", "description": " 创建时间" }, "user": { "$ref": "#/definitions/SimpleUser", "description": " 操作人" }, "article": { "$ref": "#/definitions/SimpleArticle", "description": " 文章" }, "comment": { "$ref": "#/definitions/SimpleComment", "description": " 评论" }, "commentParent": { "$ref": "#/definitions/SimpleComment", "description": " 被回复的评论" } }, "title": "MessageBusinessItem", "required": [ "id", "type", "optType", "companyId", "userId", "recipientId", "articleId", "createdAt", "user", "article", "comment", "commentParent" ] }, "MessageBusinessResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/MessageBusinessItem" } }, "total": { "type": "integer", "format": "int64" } }, "title": "MessageBusinessResponse", "required": [ "list", "total" ] }, "MessageRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" } }, "title": "MessageRequest", "required": [ "page", "size" ] }, "MessageSystemItem": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": " ID" }, "type": { "type": "integer", "format": "int32", "description": " 系统分类" }, "title": { "type": "string", "description": " 标题" }, "content": { "type": "string", "description": " 内容" }, "createdAt": { "type": "integer", "format": "int64", "description": " 创建时间" } }, "title": "MessageSystemItem", "required": [ "id", "type", "title", "content", "createdAt" ] }, "MessageSystemResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/MessageSystemItem" } }, "total": { "type": "integer", "format": "int64" } }, "title": "MessageSystemResponse", "required": [ "list", "total" ] }, "MiniAllArticleTagRequest": { "type": "object", "properties": { "": { "type": "integer", "format": "int64", "description": " 公司id" }, "": { "type": "integer", "format": "int64", "description": " 公司id" } }, "title": "MiniAllArticleTagRequest" }, "MiniAllArticleTagResponse": { "type": "object", "properties": { "tagGroup": { "type": "array", "items": { "$ref": "#/definitions/ArticleTagGroup" } } }, "title": "MiniAllArticleTagResponse", "required": [ "tagGroup" ] }, "MiniArticleBackupItem": { "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": "MiniArticleBackupItem", "required": [ "id", "title", "content", "images", "videos", "changeField", "createdAt", "location", "action", "show" ] }, "MiniArticleBackupSearchRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "articleId": { "type": "integer", "format": "int32" }, "": { "type": "integer", "format": "int64", "description": " 服务端自动获取" } }, "title": "MiniArticleBackupSearchRequest", "required": [ "page", "size", "articleId" ] }, "MiniArticleBackupSearchResponse": { "type": "object", "properties": { "total": { "type": "integer", "format": "int64" }, "list": { "type": "array", "items": { "$ref": "#/definitions/MiniArticleBackupItem" } } }, "title": "MiniArticleBackupSearchResponse", "required": [ "total", "list" ] }, "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" ] }, "MiniArticleCreateRequest": { "type": "object", "properties": { "title": { "type": "string", "description": "标题" }, "section": { "type": "array", "items": { "type": "string" }, "description": "文章的文本内容" }, "authorId": { "type": "integer", "format": "int64", "description": "发布人id" }, "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": "定位坐标" }, "matchUrl": { "type": "object", "description": " 匹配文章内容中的url文本" } }, "title": "MiniArticleCreateRequest", "required": [ "title", "section", "matchUrl" ] }, "MiniArticleCreateResponse": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "MiniArticleCreateResponse", "required": [ "id" ] }, "MiniArticleDraftCreateRequest": { "type": "object", "properties": { "": { "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": " 坐标" }, "matchUrl": { "type": "object", "description": " 匹配文章内容中的url文本" } }, "title": "MiniArticleDraftCreateRequest", "required": [ "template", "section", "title", "images", "whoRead", "whoReview", "location", "matchUrl" ] }, "MiniArticleDraftCreateResponse": { "type": "object", "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": " 坐标" }, "matchUrl": { "type": "object" } }, "title": "MiniArticleDraftGetMeResponse", "required": [ "id", "template", "section", "title", "images", "whoRead", "whoReview", "location", "matchUrl" ] }, "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" }, "matchUrl": { "type": "object", "description": "匹配内容中的url文本" } }, "title": "MiniArticleDraftItem", "required": [ "id", "template", "section", "title", "images", "createdAt", "matchUrl" ] }, "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": " 坐标" }, "matchUrl": { "type": "object", "description": " 匹配文章内容中的url文本" } }, "title": "MiniArticleDraftUpdateRequest", "required": [ "id", "template", "section", "title", "images", "whoRead", "whoReview", "location", "matchUrl" ] }, "MiniArticleDraftUpdateResponse": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "MiniArticleDraftUpdateResponse", "required": [ "id" ] }, "MiniArticleGetRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "id" }, "": { "type": "integer", "format": "int64", "description": "当前公司" }, "": { "type": "integer", "format": "int32", "description": "当前用户" } }, "title": "MiniArticleGetRequest", "required": [ "id" ] }, "MiniArticleGetResponse": { "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": "文章的文本内容" }, "images": { "type": "array", "items": { "type": "string" }, "description": "图片" }, "videos": { "type": "array", "items": { "$ref": "#/definitions/Video" }, "description": "视频" }, "whoRead": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": "谁可查看" }, "whoReview": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": "谁可评论" }, "location": { "$ref": "#/definitions/Location", "description": "定位坐标" }, "countLove": { "type": "integer", "format": "int32", "description": " 点赞数量" }, "countComment": { "type": "integer", "format": "int32", "description": " 评论数量" }, "countRead": { "type": "integer", "format": "int32", "description": " 浏览数量" }, "show": { "type": "integer", "format": "int32", "description": " 评论的展示状态(1显示、2不显示)" }, "edit": { "type": "integer", "format": "int32", "description": " 文章是否存在变更记录 (0 不存在 1存在)" }, "meLoveFlag": { "type": "integer", "format": "int32", "description": " 当前人员对文章的点赞标识 (0 没有点赞 1有点赞)" }, "meFollowFlag": { "type": "integer", "format": "int32", "description": " 当前人员对作者的关注标识 (0 没有关注 1有关注)" }, "tags": { "type": "array", "items": { "type": "string" }, "description": " 文章的标签" }, "matchUrl": { "type": "object", "description": " 匹配文章内容中的url文本" } }, "title": "MiniArticleGetResponse", "required": [ "id", "title", "authorId", "author", "createdAt", "section", "images", "videos", "whoRead", "whoReview", "location", "countLove", "countComment", "countRead", "show", "edit", "meLoveFlag", "meFollowFlag", "tags", "matchUrl" ] }, "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": { "type": "object", "properties": { "": { "type": "integer", "format": "int64", "description": " 当前操作人" }, "": { "type": "integer", "format": "int64", "description": " 当前公司" }, "articleId": { "type": "integer", "format": "int64", "description": " 文章id" } }, "title": "MiniArticleMarkUserReadRequest", "required": [ "articleId" ] }, "MiniArticleMarkUserReadResponse": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "MiniArticleMarkUserReadResponse", "required": [ "id" ] }, "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" ] }, "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": "array", "items": { "type": "integer", "format": "int64" }, "description": " 标签id" } }, "title": "MiniArticleSetTagRequest", "required": [ "articleId", "tagId" ] }, "MiniArticleSetTagResponse": { "type": "object", "properties": { "id": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, "title": "MiniArticleSetTagResponse", "required": [ "id" ] }, "MiniBeLikedRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" } }, "title": "MiniBeLikedRequest", "required": [ "page", "size" ] }, "MiniBeLikedResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/MyBeLikedItem" } }, "total": { "type": "integer", "format": "int64" } }, "title": "MiniBeLikedResponse", "required": [ "list", "total" ] }, "MiniCreateArticleCommentRequest": { "type": "object", "properties": { "articleId": { "type": "integer", "format": "int64", "description": " 文章id" }, "sectionId": { "type": "integer", "format": "int64", "description": " 段落id" }, "": { "type": "integer", "format": "int64", "description": " 填写文章的人,服务端自动获取" }, "": { "type": "integer", "format": "int64", "description": " 服务端自动获取" }, "pid": { "type": "integer", "format": "int64", "description": " 回复那个评论的id" }, "content": { "type": "string", "description": " 评论的内容" }, "atWho": { "type": "array", "items": { "$ref": "#/definitions/CommentAtWho" }, "description": " 填写评论时@的人" }, "matchUrl": { "type": "object", "description": " 评论内容中的url文本" } }, "title": "MiniCreateArticleCommentRequest", "required": [ "articleId", "sectionId", "content" ] }, "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": { "$ref": "#/definitions/CommentAtWho" }, "description": " 填写评论时@的人" }, "matchUrl": { "type": "object", "description": " 评论内容中的url文本" }, "createdAt": { "type": "integer", "format": "int64" } }, "title": "MiniCreateArticleCommentResponse", "required": [ "id", "pid", "topId", "articleId", "sectionId", "fromUserId", "fromUser", "toUserId", "toUser", "sectionContent", "countReply", "countUserLove", "countAdminLove", "atWho", "matchUrl", "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" ] }, "MiniEditUserInfoRequest": { "type": "object", "properties": { "avatar": { "$ref": "#/definitions/string" } }, "title": "MiniEditUserInfoRequest", "required": [ "avatar" ] }, "MiniEditUserInfoResponse": { "type": "object", "title": "MiniEditUserInfoResponse" }, "MiniGetArticleBackupRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "": { "type": "integer", "format": "int64", "description": " 服务端自动获取" } }, "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" ] }, "MiniGetArticleCommentResponse": { "type": "object", "properties": { "": { "$ref": "#/definitions/ArticleCommentAndReply" } }, "title": "MiniGetArticleCommentResponse" }, "MiniHomePageRequest": { "type": "object", "properties": { "": { "type": "integer", "format": "int64" }, "": { "type": "integer", "format": "int64" } }, "title": "MiniHomePageRequest" }, "MiniHomePageResponse": { "type": "object", "properties": { "tagCategory": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "$ref": "#/definitions/ArticleTagCount" } } }, "title": "MiniHomePageResponse", "required": [ "tagCategory", "tags" ] }, "MiniHomePageUserBeLikedRequest": { "type": "object", "properties": { "userId": { "type": "integer", "format": "int32" }, "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" } }, "title": "MiniHomePageUserBeLikedRequest", "required": [ "userId", "page", "size" ] }, "MiniHomePageUserBeLikedResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/MyBeLikedItem" } }, "total": { "type": "integer", "format": "int64" } }, "title": "MiniHomePageUserBeLikedResponse", "required": [ "list", "total" ] }, "MiniHomePageUserFollowerSearchRequest": { "type": "object", "properties": { "userId": { "type": "integer", "format": "int32" }, "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "name": { "type": "string" } }, "title": "MiniHomePageUserFollowerSearchRequest", "required": [ "userId" ] }, "MiniHomePageUserFollowerSearchResponse": { "type": "object", "properties": { "users": { "type": "array", "items": { "$ref": "#/definitions/UserFollowItem" } }, "total": { "type": "integer", "format": "int64" } }, "title": "MiniHomePageUserFollowerSearchResponse", "required": [ "users", "total" ] }, "MiniHomePageUserInfoRequest": { "type": "object", "properties": { "userId": { "type": "integer", "format": "int64", "description": " 用户ID" } }, "title": "MiniHomePageUserInfoRequest", "required": [ "userId" ] }, "MiniHomePageUserInfoResponse": { "type": "object", "properties": { "user": { "$ref": "#/definitions/UserItem", "description": " 用户信息" }, "totalFollower": { "type": "integer", "format": "int32", "description": " 关注他的人数" }, "totalBeLoved": { "type": "integer", "format": "int32", "description": " 获赞数" }, "followed": { "type": "boolean", "format": "boolean", "description": " 关注" }, "mutualFollowed": { "type": "boolean", "format": "boolean", "description": " 互相关注标识" } }, "title": "MiniHomePageUserInfoResponse", "required": [ "user", "totalFollower", "totalBeLoved", "followed", "mutualFollowed" ] }, "MiniHomepageUserNewsRequest": { "type": "object", "properties": { "authorId": { "type": "integer", "format": "int64", "description": " 特定作者ID" }, "lastArticleId": { "type": "integer", "format": "int64", "description": " 最后文章ID" }, "size": { "type": "integer", "format": "int32", "description": " 数量" }, "orderByKey": { "type": "string", "default": "desc", "description": " 按规则排序 (热度:HotScore All:时间排序 Time:时间排序)" }, "orderByValue": { "type": "string", "description": " 排序值 升序 asc 降序 desc" }, "keywords": { "type": "string", "description": " 关键字" }, "beginTime": { "type": "integer", "format": "int64", "description": " 开始时间" }, "endTime": { "type": "integer", "format": "int64", "description": " 结束时间" } }, "title": "MiniHomepageUserNewsRequest", "required": [ "authorId", "size", "orderByKey", "orderByValue" ] }, "MiniHomepageUserNewsResposne": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/UserNewsItem" } }, "lastArticleId": { "type": "integer", "format": "int64", "description": " 最后文章ID" }, "total": { "type": "integer", "format": "int64" } }, "title": "MiniHomepageUserNewsResposne", "required": [ "list", "lastArticleId", "total" ] }, "MiniListArticleCommentRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "": { "type": "integer", "format": "int64" }, "": { "type": "integer", "format": "int64" }, "articleId": { "type": "integer", "format": "int64" }, "sectionId": { "type": "integer", "format": "int64" } }, "title": "MiniListArticleCommentRequest", "required": [ "page", "size", "articleId" ] }, "MiniListArticleCommentResponse": { "type": "object", "properties": { "total": { "type": "integer", "format": "int64" }, "list": { "type": "array", "items": { "$ref": "#/definitions/ArticleCommentAndReply" } } }, "title": "MiniListArticleCommentResponse", "required": [ "total", "list" ] }, "MiniListReplyArticleCommentRequest": { "type": "object", "properties": { "commentId": { "type": "integer", "format": "int64" }, "": { "type": "integer", "format": "int64" }, "": { "type": "integer", "format": "int64" }, "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" } }, "title": "MiniListReplyArticleCommentRequest", "required": [ "commentId", "page", "size" ] }, "MiniListReplyArticleCommentResponse": { "type": "object", "properties": { "total": { "type": "integer", "format": "int64" }, "list": { "type": "array", "items": { "$ref": "#/definitions/ArticleCommentItem" } } }, "title": "MiniListReplyArticleCommentResponse", "required": [ "total", "list" ] }, "MiniMyLikeRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" } }, "title": "MiniMyLikeRequest", "required": [ "page", "size" ] }, "MiniMyLikeResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/MyLikeItem" } }, "total": { "type": "integer", "format": "int64" } }, "title": "MiniMyLikeResponse", "required": [ "list", "total" ] }, "MiniQrCodeRequest": { "type": "object", "properties": { "page": { "type": "string", "description": " 微信页面入口" }, "scene": { "type": "string", "description": " 参数" } }, "title": "MiniQrCodeRequest", "required": [ "page", "scene" ] }, "MiniSearchArticleItem": { "type": "object", "properties": { "articleId": { "type": "integer", "format": "int64" }, "title": { "type": "string" }, "authorId": { "type": "integer", "format": "int64" }, "author": { "type": "string", "description": " 发布人" }, "avatar": { "type": "string", "description": " 发布人的头像" }, "images": { "type": "array", "items": { "type": "string" } }, "createdAt": { "type": "integer", "format": "int64" }, "meReadFlag": { "type": "integer", "format": "int32", "description": "已读标识 [0:未读] [1:已读]" } }, "title": "MiniSearchArticleItem", "required": [ "articleId", "title", "authorId", "author", "avatar", "images", "createdAt", "meReadFlag" ] }, "MiniSearchArticleRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "": { "type": "integer", "format": "int64" }, "": { "type": "integer", "format": "int64" }, "tagCategory": { "type": "string" }, "tagId": { "type": "integer", "format": "int64" }, "beginTime": { "type": "integer", "format": "int64" }, "endTime": { "type": "integer", "format": "int64" }, "searchWord": { "type": "string" } }, "title": "MiniSearchArticleRequest", "required": [ "page", "size" ] }, "MiniSearchArticleResponse": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "list": { "type": "array", "items": { "$ref": "#/definitions/MiniSearchArticleItem" } } }, "title": "MiniSearchArticleResponse", "required": [ "total", "list" ] }, "MiniSetUserLikeRequset": { "type": "object", "properties": { "articleId": { "type": "integer", "format": "int64", "description": "文章id" }, "commentId": { "type": "integer", "format": "int64", "description": "评论id" }, "": { "type": "integer", "format": "int64", "description": "操作人" }, "flag": { "type": "integer", "format": "int32", "description": "点赞标志 1、点赞 2 、取消点赞" } }, "title": "MiniSetUserLikeRequset", "required": [ "articleId", "flag" ] }, "MiniSetUserLikeResponse": { "type": "object", "properties": { "articleId": { "type": "integer", "format": "int64", "description": "文章id" }, "commentId": { "type": "integer", "format": "int64", "description": "评论id" }, "count": { "type": "integer", "format": "int32", "description": "现有的点赞数量" } }, "title": "MiniSetUserLikeResponse", "required": [ "articleId", "commentId", "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": { "phone": { "type": "string" }, "code": { "type": "string" }, "isFromQr": { "type": "boolean", "format": "boolean", "description": " true:扫码添加 false:手动查找添加" } }, "title": "MiniUserApplyJoinCompanyRequest", "required": [ "phone", "code" ] }, "MiniUserApplyJoinCompanyResponse": { "type": "object", "properties": { "token": { "type": "string", "description": " x-token" } }, "title": "MiniUserApplyJoinCompanyResponse", "required": [ "token" ] }, "MiniUserAuditRequest": { "type": "object", "properties": { "userId": { "type": "integer", "format": "int64", "description": " 用户ID" }, "status": { "type": "integer", "format": "int32", "description": " 审核状态 1:审核通过 2:拒绝" } }, "title": "MiniUserAuditRequest", "required": [ "userId", "status" ] }, "MiniUserDepartmentUsersRequest": { "type": "object", "title": "MiniUserDepartmentUsersRequest" }, "MiniUserDepartmentUsersResponse": { "type": "object", "properties": { "departments": { "type": "array", "items": { "$ref": "#/definitions/Department" } }, "users": { "type": "array", "items": { "$ref": "#/definitions/UserItem" } } }, "title": "MiniUserDepartmentUsersResponse", "required": [ "departments", "users" ] }, "MiniUserFollowedSearchRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "name": { "type": "string" } }, "title": "MiniUserFollowedSearchRequest" }, "MiniUserFollowedSearchResponse": { "type": "object", "properties": { "users": { "type": "array", "items": { "$ref": "#/definitions/UserFollowItem" } }, "total": { "type": "integer", "format": "int64" } }, "title": "MiniUserFollowedSearchResponse", "required": [ "users", "total" ] }, "MiniUserFollowingMarkReadRequest": { "type": "object", "properties": { "userId": { "type": "integer", "format": "int64" } }, "title": "MiniUserFollowingMarkReadRequest", "required": [ "userId" ] }, "MiniUserInfoRequest": { "type": "object", "title": "MiniUserInfoRequest" }, "MiniUserInfoResponse": { "type": "object", "properties": { "user": { "$ref": "#/definitions/UserItem", "description": " 用户信息" }, "accounts": { "type": "array", "items": { "$ref": "#/definitions/Account" }, "description": " 公司账号" }, "auths": { "type": "array", "items": { "$ref": "#/definitions/Auth" }, "description": " 权限列表" } }, "title": "MiniUserInfoResponse", "required": [ "user", "accounts", "auths" ] }, "MiniUserLikeArticleRequest": { "type": "object", "properties": { "articleId": { "type": "integer", "format": "int64", "description": " 文章id" }, "": { "type": "integer", "format": "int64", "description": "公司id" }, "page": { "type": "integer", "format": "int32", "description": "分页,第几页" }, "size": { "type": "integer", "format": "int32", "description": "分页,每页几条" } }, "title": "MiniUserLikeArticleRequest", "required": [ "articleId", "page", "size" ] }, "MiniUserLikeArticleResponse": { "type": "object", "properties": { "total": { "type": "integer", "format": "int64", "description": "总数" }, "list": { "type": "array", "items": { "$ref": "#/definitions/WhichUserLikeArticle" }, "description": "列表" } }, "title": "MiniUserLikeArticleResponse", "required": [ "total", "list" ] }, "MiniUserLoginRequest": { "type": "object", "properties": { "loginType": { "type": "string", "description": " 登录类型 wechat-login whchat-phone-login phone-password-login phone-smscode-login" }, "wechatAuthcode": { "type": "string", "description": " 微信登录 授权码" }, "wechatEncryptedData": { "type": "string", "description": " 微信登录 加密数据" }, "wechatIV": { "type": "string", "description": " 微信登录 加密算法初始向量" }, "phone": { "type": "string", "description": " 手机号" }, "password": { "type": "string", "description": " 密码" }, "smsCode": { "type": "string", "description": " 短信验证码" } }, "title": "MiniUserLoginRequest", "required": [ "loginType" ] }, "MiniUserLoginResponse": { "type": "object", "properties": { "token": { "type": "string", "description": " x-token" }, "phone": { "type": "string", "description": " 手机号" }, "message": { "type": "string", "description": " 失败消息(审核中,注册成功等待审核)" }, "success": { "type": "boolean", "format": "boolean", "description": " 成功标识" } }, "title": "MiniUserLoginResponse", "required": [ "token", "phone", "message", "success" ] }, "MiniUserNewsRequest": { "type": "object", "properties": { "authorId": { "type": "integer", "format": "int64", "description": " 特定作者ID" }, "lastArticleId": { "type": "integer", "format": "int64", "description": " 最后文章ID" }, "size": { "type": "integer", "format": "int32", "description": " 数量" } }, "title": "MiniUserNewsRequest", "required": [ "size" ] }, "MiniUserNewsResposne": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/UserNewsItem" } }, "lastArticleId": { "type": "integer", "format": "int64", "description": " 最后文章ID" } }, "title": "MiniUserNewsResposne", "required": [ "list", "lastArticleId" ] }, "MiniUserSwitchAccountRequest": { "type": "object", "properties": { "companyId": { "type": "integer", "format": "int64" } }, "title": "MiniUserSwitchAccountRequest", "required": [ "companyId" ] }, "MiniUsersListRequest": { "type": "object", "properties": { "articleId": { "type": "integer", "format": "int64", "description": " 按文章ID(返回文章可见的用户)" }, "roleId": { "type": "integer", "format": "int64", "description": " 按角色角色关联的用户" }, "keywords": { "type": "string", "description": " 按关键字搜索(名称)" } }, "title": "MiniUsersListRequest" }, "MyBeLikedItem": { "type": "object", "properties": { "userId": { "type": "integer", "format": "int64", "description": " 点赞人id" }, "articleId": { "type": "integer", "format": "int64", "description": " 文章id" }, "commentId": { "type": "integer", "format": "int64", "description": " 评论id" }, "createdAt": { "type": "integer", "format": "int64", "description": " 创建时间" }, "user": { "$ref": "#/definitions/SimpleUser", "description": " 点赞人" }, "article": { "$ref": "#/definitions/SimpleArticle", "description": " 文章" }, "comment": { "$ref": "#/definitions/SimpleComment", "description": " 评论" } }, "title": "MyBeLikedItem", "required": [ "userId", "articleId", "commentId", "createdAt", "user", "article", "comment" ] }, "MyLikeItem": { "type": "object", "properties": { "userId": { "type": "integer", "format": "int64", "description": " 发布人id" }, "articleId": { "type": "integer", "format": "int64", "description": " 文章id" }, "commentId": { "type": "integer", "format": "int64", "description": " 评论id" }, "createdAt": { "type": "integer", "format": "int64", "description": " 创建时间" }, "user": { "$ref": "#/definitions/SimpleUser", "description": " 发布人" }, "article": { "$ref": "#/definitions/SimpleArticle", "description": " 文章" }, "comment": { "$ref": "#/definitions/SimpleComment", "description": " 评论" } }, "title": "MyLikeItem", "required": [ "userId", "articleId", "commentId", "createdAt", "user", "article", "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": { "name": { "type": "string" } }, "title": "Position", "required": [ "name" ] }, "RoleDeleteRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "RoleDeleteRequest", "required": [ "id" ] }, "RoleDeleteResponse": { "type": "object", "title": "RoleDeleteResponse" }, "RoleGetRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "RoleGetRequest", "required": [ "id" ] }, "RoleGetResponse": { "type": "object", "properties": { "role": { "$ref": "#/definitions/RoleItem" }, "authList": { "type": "array", "items": { "$ref": "#/definitions/Auth" } } }, "title": "RoleGetResponse", "required": [ "role", "authList" ] }, "RoleItem": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": " 角色ID" }, "companyId": { "type": "integer", "format": "int64", "description": " 公司ID" }, "name": { "type": "string", "description": " 角色名称" }, "authIds": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 角色权限列表" }, "authsDesc": { "type": "string", "description": " 权限列表描述" }, "usersDesc": { "type": "string", "description": " 用户列表描述" }, "remark": { "type": "string", "description": " 备注" }, "users": { "type": "array", "items": { "$ref": "#/definitions/RoleUser" }, "description": " 绑定的用户" }, "updatedAt": { "type": "integer", "format": "int64", "description": " 更新时间" } }, "title": "RoleItem", "required": [ "companyId", "name", "authIds", "authsDesc", "usersDesc", "remark", "users", "updatedAt" ] }, "RoleSaveRequest": { "type": "object", "properties": { "role": { "$ref": "#/definitions/RoleItem" } }, "title": "RoleSaveRequest", "required": [ "role" ] }, "RoleSaveResponse": { "type": "object", "title": "RoleSaveResponse" }, "RoleSearchRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "style": { "type": "string", "description": " simple:只返回角色ID名称 full:所有字段都返回" } }, "title": "RoleSearchRequest", "required": [ "style" ] }, "RoleSearchResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/RoleItem" } }, "total": { "type": "integer", "format": "int64" } }, "title": "RoleSearchResponse", "required": [ "list", "total" ] }, "RoleUpdateRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "role": { "$ref": "#/definitions/RoleItem" } }, "title": "RoleUpdateRequest", "required": [ "id", "role" ] }, "RoleUpdateResponse": { "type": "object", "title": "RoleUpdateResponse" }, "RoleUser": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" } }, "title": "RoleUser", "required": [ "id", "name" ] }, "SimpleArticle": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "title": { "type": "string", "description": " 文章标题" }, "summary": { "type": "string", "description": " 文章概要" }, "countLove": { "type": "integer", "format": "int32", "description": " 点赞数量" }, "countComment": { "type": "integer", "format": "int32", "description": " 评论数量" }, "show": { "type": "integer", "format": "int32", "description": " 文章的展示状态(0显示、1不显示)" } }, "title": "SimpleArticle", "required": [ "id", "title", "summary", "countLove", "countComment", "show" ] }, "SimpleComment": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "content": { "type": "string", "description": " 评论内容" }, "show": { "type": "integer", "format": "int32", "description": " 评论的展示状态(0显示、1不显示)" }, "atWho": { "type": "array", "items": { "$ref": "#/definitions/CommentAtWho" }, "description": " 填写评论时@的人" }, "matchUrl": { "type": "object", "description": " 评论内容中的url文本" }, "countReply": { "type": "integer", "format": "int32", "description": " 用户回复数量" }, "countUserLove": { "type": "integer", "format": "int32", "description": " 用户点赞数量" } }, "title": "SimpleComment", "required": [ "id", "content", "show", "atWho", "matchUrl", "countReply", "countUserLove" ] }, "SimpleUser": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "companyId": { "type": "integer", "format": "int64", "description": " 公司ID" }, "companyName": { "type": "string", "description": " 公司名称" }, "name": { "type": "string", "description": " 名称" }, "avatar": { "type": "string", "description": " 头像" }, "position": { "type": "string", "description": " 职位" } }, "title": "SimpleUser", "required": [ "id", "companyId", "companyName", "name", "avatar", "position" ] }, "StatisticsItem": { "type": "object", "properties": { "itemFlag": { "type": "integer", "format": "int32", "description": " 1:他的帖子 2:他的评论/回复 4:他收到的赞 8:TA的圆桌讨论 16:被采纳" }, "value": { "type": "number", "format": "double", "description": " 统计值" } }, "title": "StatisticsItem", "required": [ "itemFlag", "value" ] }, "SystemArticleCommentSearchItem": { "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": " 填写评论的人" }, "countReply": { "type": "integer", "format": "int32", "description": " 回复数量" }, "countUserLove": { "type": "integer", "format": "int32", "description": " 用户点赞数量" }, "countAdminLove": { "type": "integer", "format": "int32", "description": " 运营点赞数量" }, "createdAt": { "type": "integer", "format": "int64", "description": " 评论时间" }, "content": { "type": "string", "description": " 评论的内容" }, "atWho": { "type": "array", "items": { "$ref": "#/definitions/CommentAtWho" }, "description": " 填写评论时@的人" }, "matchUrl": { "type": "object", "description": " 评论内容中的url文本" }, "show": { "type": "integer", "format": "int32", "description": " 显示状态" } }, "title": "SystemArticleCommentSearchItem", "required": [ "id", "pid", "topId", "articleId", "sectionId", "fromUserId", "fromUser", "countReply", "countUserLove", "countAdminLove", "createdAt", "content", "atWho", "matchUrl", "show" ] }, "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" ] }, "SystemArticleCommentSearchRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "articleId": { "type": "integer", "format": "int64", "description": " 文章ID" }, "topId": { "type": "integer", "format": "int64", "description": " 文章顶层ID" }, "author": { "type": "integer", "format": "int64", "description": " 用户" }, "show": { "type": "integer", "format": "int32", "description": " 显示状态" }, "beginTime": { "type": "integer", "format": "int64", "description": " 开始时间" }, "endTime": { "type": "integer", "format": "int64", "description": " 结束时间" } }, "title": "SystemArticleCommentSearchRequest", "required": [ "page", "size", "articleId" ] }, "SystemArticleCommentSearchResponse": { "type": "object", "properties": { "total": { "type": "integer", "format": "int64" }, "list": { "type": "array", "items": { "$ref": "#/definitions/SystemArticleCommentSearchItem" } } }, "title": "SystemArticleCommentSearchResponse", "required": [ "total", "list" ] }, "SystemArticleCreateRequest": { "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文本" }, "articleDraftId": { "type": "integer", "format": "int64", "description": " 草稿ID" }, "AccessToken": { "type": "string", "description": " 授权token" } }, "title": "SystemArticleCreateRequest", "required": [ "title", "content", "authorId", "targetUser", "articleDraftId", "x-mmm-accesstoken" ] }, "SystemArticleCreateResponse": { "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文本" } }, "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": " 文章的文本内容" }, "images": { "type": "array", "items": { "type": "string" }, "description": " 图片" }, "videos": { "type": "array", "items": { "$ref": "#/definitions/Video" }, "description": " 视频" }, "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": " 定位坐标" }, "countLove": { "type": "integer", "format": "int32", "description": " 点赞数量" }, "countComment": { "type": "integer", "format": "int32", "description": " 评论数量" }, "countRead": { "type": "integer", "format": "int32", "description": " 浏览数量" }, "show": { "type": "integer", "format": "int32", "description": " 评论的展示状态(0显示、1不显示)" }, "tags": { "type": "array", "items": { "$ref": "#/definitions/ArticleTagItem" }, "description": "标签" }, "targetUser": { "type": "integer", "format": "int32", "description": "分发方式 [0分发给所有人、1分发给指定的人]" } }, "title": "SystemArticleGetResponse", "required": [ "id", "title", "authorId", "author", "createdAt", "section", "images", "videos", "whoRead", "whoReadInfo", "whoReview", "whoReviewInfo", "location", "countLove", "countComment", "countRead", "show", "tags", "targetUser" ] }, "SystemArticleHistory": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "id" }, "author": { "type": "string", "description": "编辑人" }, "action": { "type": "string", "description": "编辑类型" }, "updatedAt": { "type": "integer", "format": "int64", "description": "编辑时间" } }, "title": "SystemArticleHistory", "required": [ "id", "author", "action", "updatedAt" ] }, "SystemArticleHistoryRequest": { "type": "object", "properties": { "articleId": { "type": "integer", "format": "int64", "description": "文章ID" }, "author": { "type": "string", "description": "发布人" }, "beginTime": { "type": "integer", "format": "int64", "description": "开始时间" }, "endTime": { "type": "integer", "format": "int64", "description": "结束时间" }, "page": { "type": "integer", "format": "int32", "description": "页码" }, "size": { "type": "integer", "format": "int32", "description": "每页行数" } }, "title": "SystemArticleHistoryRequest", "required": [ "articleId", "page", "size" ] }, "SystemArticleHistoryResponse": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "list": { "type": "array", "items": { "$ref": "#/definitions/SystemArticleHistory" } } }, "title": "SystemArticleHistoryResponse", "required": [ "total", "list" ] }, "SystemArticleRestoreRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "ID" }, "AccessToken": { "type": "string", "description": " 授权token" } }, "title": "SystemArticleRestoreRequest", "required": [ "id", "x-mmm-accesstoken" ] }, "SystemArticleRestoreResponse": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "ID" }, "articleId": { "type": "integer", "format": "int64", "description": "文章ID" } }, "title": "SystemArticleRestoreResponse", "required": [ "id", "articleId" ] }, "SystemArticleSearch": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "id" }, "title": { "type": "string", "description": "标题" }, "authorId": { "type": "integer", "format": "int64", "description": "发布人ID" }, "author": { "type": "string", "description": "发布人" }, "images": { "type": "array", "items": { "type": "string" }, "description": "图片" }, "createdAt": { "type": "integer", "format": "int64", "description": "文章的创建日期" }, "updatedAt": { "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分发给指定的人]" }, "operator": { "$ref": "#/definitions/Operator", "description": "运营操作人" }, "source": { "type": "integer", "format": "int32", "description": "来源[1用户发布、2运营发布]" } }, "title": "SystemArticleSearch", "required": [ "id", "title", "authorId", "author", "images", "createdAt", "updatedAt", "countLove", "countComment", "show", "tags", "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": { "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": { "companyId": { "type": "integer", "format": "int64" }, "title": { "type": "string", "description": "标题" }, "author": { "type": "integer", "format": "int64", "description": "发布人" }, "beginTime": { "type": "integer", "format": "int64", "description": "开始时间" }, "endTime": { "type": "integer", "format": "int64", "description": "结束时间" }, "tags": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": "标签" }, "page": { "type": "integer", "format": "int32", "description": "页码" }, "size": { "type": "integer", "format": "int32", "description": "每页行数" }, "orderMode": { "type": "string", "description": "排序方式" } }, "title": "SystemArticleSearchRequest", "required": [ "page", "size" ] }, "SystemArticleSearchResponse": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "list": { "type": "array", "items": { "$ref": "#/definitions/SystemArticleSearch" } } }, "title": "SystemArticleSearchResponse", "required": [ "total", "list" ] }, "SystemArticleUpdateRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "companyId": { "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": " 图片" }, "video": { "type": "array", "items": { "$ref": "#/definitions/Video" }, "description": " 视频" }, "whoRead": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 谁可以看" }, "whoReview": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 评论人" }, "targetUser": { "type": "integer", "format": "int32", "description": " 分发方式 [0分发给所有人、1分发给指定的人]" }, "tags": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 标签" }, "AccessToken": { "type": "string", "description": " 授权token" } }, "title": "SystemArticleUpdateRequest", "required": [ "id", "section", "title", "images", "video", "whoRead", "whoReview", "targetUser", "tags", "x-mmm-accesstoken" ] }, "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": "点赞数量" }, "video": { "type": "array", "items": { "$ref": "#/definitions/Video" }, "description": " 视频" }, "countComment": { "type": "integer", "format": "int32", "description": "评论数量" }, "show": { "type": "integer", "format": "int32", "description": "是否隐藏 [0显示、1不显示]" }, "tags": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": "标签" }, "targetUser": { "type": "integer", "format": "int32", "description": "分发方式 [0分发给所有人、1分发给指定的人]" } }, "title": "SystemArticleUpdateResponse", "required": [ "id", "title", "author", "images", "createdAt", "countLove", "video", "countComment", "show", "tags", "targetUser" ] }, "SystemCommentItem": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "评论id" }, "pid": { "type": "integer", "format": "int64" }, "topId": { "type": "integer", "format": "int64" }, "articleId": { "type": "integer", "format": "int64", "description": "对应的文章id" }, "articleTitle": { "type": "string", "description": "文章标题" }, "fromUserId": { "type": "integer", "format": "int64", "description": "填写评论的人" }, "fromUser": { "$ref": "#/definitions/CommentAuthor", "description": "填写评论的人" }, "createdAt": { "type": "integer", "format": "int64", "description": "评论的填写时间" }, "content": { "type": "string", "description": "评论的内容" }, "show": { "type": "integer", "format": "int32", "description": "是否展示 [1显示] [2不显示]" }, "countReplay": { "type": "integer", "format": "int32", "description": "回复数量" }, "countUserLove": { "type": "integer", "format": "int32", "description": "用户点赞数量" }, "countAdminLove": { "type": "integer", "format": "int32", "description": "运营点赞数量" } }, "title": "SystemCommentItem", "required": [ "id", "pid", "topId", "articleId", "articleTitle", "fromUserId", "fromUser", "createdAt", "content", "show", "countReplay", "countUserLove", "countAdminLove" ] }, "SystemEditCommentLoveRequest": { "type": "object", "properties": { "": { "type": "integer", "format": "int64" }, "paramList": { "type": "array", "items": { "$ref": "#/definitions/SystemEditLove" } } }, "title": "SystemEditCommentLoveRequest", "required": [ "paramList" ] }, "SystemEditCommentLoveResponse": { "type": "object", "properties": { "paramList": { "type": "array", "items": { "$ref": "#/definitions/SystemEditLove" } } }, "title": "SystemEditCommentLoveResponse", "required": [ "paramList" ] }, "SystemEditCommentRequest": { "type": "object", "properties": { "": { "type": "integer", "format": "int64" }, "id": { "type": "integer", "format": "int64" }, "show": { "type": "integer", "format": "int32", "description": "[1 显示评论] [2: 隐藏评论]" }, "content": { "type": "string" }, "countAdminLove": { "type": "integer", "format": "int32" } }, "title": "SystemEditCommentRequest", "required": [ "id", "show" ] }, "SystemEditCommentResponse": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "SystemEditCommentResponse", "required": [ "id" ] }, "SystemEditCommentShowRequest": { "type": "object", "properties": { "": { "type": "integer", "format": "int64" }, "id": { "type": "array", "items": { "type": "integer", "format": "int64" } }, "show": { "type": "integer", "format": "int32", "description": "[1 显示评论] [2: 隐藏评论]" } }, "title": "SystemEditCommentShowRequest", "required": [ "id", "show" ] }, "SystemEditCommentShowResponse": { "type": "object", "properties": { "id": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, "title": "SystemEditCommentShowResponse", "required": [ "id" ] }, "SystemEditLove": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "countAdminLove": { "type": "integer", "format": "int32" } }, "title": "SystemEditLove", "required": [ "id" ] }, "SystemGetCommentRequest": { "type": "object", "properties": { "": { "type": "integer", "format": "int64" }, "id": { "type": "integer", "format": "int64" } }, "title": "SystemGetCommentRequest", "required": [ "id" ] }, "SystemGetCommentResponse": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "评论id" }, "pid": { "type": "integer", "format": "int64" }, "topId": { "type": "integer", "format": "int64" }, "articleId": { "type": "integer", "format": "int64", "description": "对应的文章id" }, "articleTitle": { "type": "string", "description": "文章标题" }, "fromUserId": { "type": "integer", "format": "int64", "description": "填写评论的人" }, "fromUser": { "$ref": "#/definitions/CommentAuthor", "description": "填写评论的人" }, "createdAt": { "type": "integer", "format": "int64", "description": "评论的填写时间" }, "sectionContent": { "type": "string", "description": "引用的段落内容" }, "content": { "type": "string", "description": " 评论的内容" }, "show": { "type": "integer", "format": "int32", "description": "是否展示 [1显示] [2不显示]" }, "countReplay": { "type": "integer", "format": "int32", "description": "回复数量" }, "countUserLove": { "type": "integer", "format": "int32", "description": "用户点赞数量" }, "countAdminLove": { "type": "integer", "format": "int32", "description": "运营点赞数量" } }, "title": "SystemGetCommentResponse", "required": [ "id", "pid", "topId", "articleId", "articleTitle", "fromUserId", "fromUser", "createdAt", "sectionContent", "content", "show", "countReplay", "countUserLove", "countAdminLove" ] }, "SystemListCommentRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "": { "type": "integer", "format": "int64" }, "topId": { "type": "integer", "format": "int64", "description": " 评论的顶层ID" }, "fromUserId": { "type": "integer", "format": "int64", "description": " 用户" }, "show": { "type": "integer", "format": "int32", "description": " 显示状态" }, "beginTime": { "type": "integer", "format": "int64", "description": " 填写评论的开始时间" }, "endTime": { "type": "integer", "format": "int64", "description": " 填写评论的结束时间" }, "articleTitle": { "type": "string" }, "content": { "type": "string" } }, "title": "SystemListCommentRequest", "required": [ "page", "size" ] }, "SystemListCommentResponse": { "type": "object", "properties": { "total": { "type": "integer", "format": "int32" }, "list": { "type": "array", "items": { "$ref": "#/definitions/SystemCommentItem" } } }, "title": "SystemListCommentResponse", "required": [ "total", "list" ] }, "SystemUser": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": " 用户ID" }, "name": { "type": "string", "description": " 名称" }, "avatar": { "type": "string", "description": " 头像" }, "phone": { "type": "string", "description": " 手机号 唯一" }, "position": { "type": "string", "description": " 职位" }, "enable": { "type": "integer", "format": "int32", "description": " 启用状态 1:启用 2:禁用" }, "departments": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 所属部门" }, "accountFrom": { "type": "string", "description": " 账号来源 后台新增、扫码注册" }, "createdAt": { "type": "integer", "format": "int64", "description": " 注册时间" }, "roles": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 角色" }, "rolesDesc": { "type": "string", "description": " 角色描述" }, "departmentsDesc": { "type": "string", "description": " 部门描述" } }, "title": "SystemUser", "required": [ "id", "name", "avatar", "phone", "position", "enable", "departments", "accountFrom", "createdAt", "roles", "rolesDesc", "departmentsDesc" ] }, "SystemUserAccountEnableRequest": { "type": "object", "properties": { "userIds": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 用户ID列表" }, "status": { "type": "integer", "format": "int32", "description": " 状态 1:启用 2:禁用" } }, "title": "SystemUserAccountEnableRequest", "required": [ "userIds", "status" ] }, "SystemUserAccountEnableResponse": { "type": "object", "title": "SystemUserAccountEnableResponse" }, "SystemUserAccountGetRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "SystemUserAccountGetRequest", "required": [ "id" ] }, "SystemUserAccountGetResponse": { "type": "object", "properties": { "user": { "$ref": "#/definitions/SystemUser" } }, "title": "SystemUserAccountGetResponse", "required": [ "user" ] }, "SystemUserAccountSaveRequest": { "type": "object", "properties": { "name": { "type": "string", "description": " 名称" }, "phone": { "type": "string", "description": " 手机号 唯一" }, "enable": { "type": "integer", "format": "int32", "description": " 启用状态 1:启用 2:禁用" }, "roles": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 角色" } }, "title": "SystemUserAccountSaveRequest", "required": [ "name", "phone", "enable", "roles" ] }, "SystemUserAccountSaveResponse": { "type": "object", "title": "SystemUserAccountSaveResponse" }, "SystemUserAccountSearchRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "name": { "type": "string", "description": " 名称" }, "phone": { "type": "string", "description": " 手机号 唯一" }, "roleId": { "type": "integer", "format": "int64", "description": " 角色权限" }, "enable": { "type": "integer", "format": "int32", "description": " 启用状态 1:启用 2:禁用" }, "beginTime": { "type": "integer", "format": "int64", "description": " 注册日期-开始" }, "endTime": { "type": "integer", "format": "int64", "description": " 注册日期-结束" } }, "title": "SystemUserAccountSearchRequest", "required": [ "page", "size" ] }, "SystemUserAccountSearchResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/SystemUser" } }, "total": { "type": "integer", "format": "int64" } }, "title": "SystemUserAccountSearchResponse", "required": [ "list", "total" ] }, "SystemUserAccountUpdateRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string", "description": " 姓名" }, "roles": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 权限角色" }, "enable": { "type": "integer", "format": "int32", "description": " 状态 1:启用 2:禁用" } }, "title": "SystemUserAccountUpdateRequest", "required": [ "id", "name", "roles", "enable" ] }, "SystemUserAccountUpdateResponse": { "type": "object", "title": "SystemUserAccountUpdateResponse" }, "SystemUserGetRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "SystemUserGetRequest", "required": [ "id" ] }, "SystemUserGetResponse": { "type": "object", "properties": { "user": { "$ref": "#/definitions/SystemUser" } }, "title": "SystemUserGetResponse", "required": [ "user" ] }, "SystemUserInfoRequest": { "type": "object", "properties": { "Token": { "type": "string" } }, "title": "SystemUserInfoRequest", "required": [ "x-mmm-accesstoken" ] }, "SystemUserInfoResponse": { "type": "object", "properties": { "userId": { "type": "integer", "format": "int64" }, "userName": { "type": "string" }, "avatar": { "type": "string" }, "companyId": { "type": "integer", "format": "int64" }, "companyName": { "type": "string" }, "code": { "type": "string" } }, "title": "SystemUserInfoResponse", "required": [ "userId", "userName", "avatar", "companyId", "companyName", "code" ] }, "SystemUserSearchRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "name": { "type": "string", "description": " 名称" }, "phone": { "type": "string", "description": " 手机号 唯一" }, "position": { "type": "string", "description": " 职位" }, "enable": { "type": "integer", "format": "int32", "description": " 启用状态 1:启用 2:禁用" }, "departmentId": { "type": "integer", "format": "int64", "description": " 所属部门" } }, "title": "SystemUserSearchRequest", "required": [ "page", "size" ] }, "SystemUserSearchResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/SystemUser" } }, "total": { "type": "integer", "format": "int64" } }, "title": "SystemUserSearchResponse", "required": [ "list", "total" ] }, "SystemUserUpdateRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "avatar": { "type": "string", "description": " 头像" }, "position": { "type": "string", "description": " 职位" }, "departments": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 所属部门" } }, "title": "SystemUserUpdateRequest", "required": [ "id", "position", "departments" ] }, "SystemUserUpdateResponse": { "type": "object", "title": "SystemUserUpdateResponse" }, "TagCreateRequest": { "type": "object", "properties": { "": { "type": "integer", "format": "int64" }, "image": { "type": "string" }, "name": { "type": "string", "description": " 标签名称" }, "category": { "type": "string", "description": " 标签分类" }, "remark": { "type": "string", "description": " 备注" }, "other": { "type": "string" }, "sortBy": { "type": "integer", "format": "int32", "description": "排序" } }, "title": "TagCreateRequest", "required": [ "image", "name", "category" ] }, "TagCreateResponse": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "TagCreateResponse", "required": [ "id" ] }, "TagDeleteRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "": { "type": "integer", "format": "int64" } }, "title": "TagDeleteRequest", "required": [ "id" ] }, "TagDeleteResponse": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "TagDeleteResponse", "required": [ "id" ] }, "TagEditRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "": { "type": "integer", "format": "int64" }, "image": { "type": "string" }, "name": { "type": "string", "description": " 标签名称" }, "category": { "type": "string", "description": " 标签分类" }, "remark": { "type": "string", "description": " 备注" }, "other": { "type": "string" }, "sortBy": { "type": "integer", "format": "int32", "description": " 排序" } }, "title": "TagEditRequest", "required": [ "id", "image", "name", "category" ] }, "TagEditResponse": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" } }, "title": "TagEditResponse", "required": [ "id" ] }, "TagGetRequest": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "": { "type": "integer", "format": "int64" } }, "title": "TagGetRequest", "required": [ "id" ] }, "TagGetResponse": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "image": { "type": "string" }, "name": { "type": "string", "description": " 标签名称" }, "category": { "type": "string", "description": " 标签分类" }, "remark": { "type": "string", "description": " 备注" }, "other": { "type": "string" }, "sortBy": { "type": "integer", "format": "int32", "description": " 排序" } }, "title": "TagGetResponse", "required": [ "id", "image", "name", "category", "remark", "other" ] }, "TagItem": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "image": { "type": "string" }, "name": { "type": "string", "description": " 标签名称" }, "category": { "type": "string", "description": " 标签分类" }, "remark": { "type": "string", "description": " 备注" }, "createdAt": { "type": "integer", "format": "int64" }, "sortBy": { "type": "integer", "format": "int32", "description": " 排序" } }, "title": "TagItem", "required": [ "id", "image", "name", "category", "remark", "createdAt" ] }, "TagListRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "": { "type": "integer", "format": "int64" }, "tagName": { "type": "string" }, "category": { "type": "string" }, "remark": { "type": "string" } }, "title": "TagListRequest", "required": [ "page", "size" ] }, "TagListResponse": { "type": "object", "properties": { "total": { "type": "integer", "format": "int64" }, "list": { "type": "array", "items": { "$ref": "#/definitions/TagItem" } } }, "title": "TagListResponse", "required": [ "total", "list" ] }, "TagOptionValue": { "type": "object", "properties": { "label": { "type": "string", "description": " 名称" }, "value": { "type": "integer", "format": "int64", "description": " 标签ID" } }, "title": "TagOptionValue", "required": [ "label", "value" ] }, "TagOptions": { "type": "object", "properties": { "value": { "type": "integer", "format": "int64", "description": " 分类ID" }, "label": { "type": "string", "description": " 分类名称" }, "options": { "type": "array", "items": { "$ref": "#/definitions/TagOptionValue" } } }, "title": "TagOptions", "required": [ "value", "label", "options" ] }, "TagOptionsRequest": { "type": "object", "properties": { "": { "type": "integer", "format": "int64", "description": " 公司ID" } }, "title": "TagOptionsRequest" }, "TagOptionsResponse": { "type": "object", "properties": { "options": { "type": "array", "items": { "$ref": "#/definitions/TagOptions" } } }, "title": "TagOptionsResponse", "required": [ "options" ] }, "UserFollowItem": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": " 用户ID" }, "name": { "type": "string", "description": " 名称" }, "companyName": { "type": "string", "description": " 公司名称" }, "avatar": { "type": "string", "description": " 头像" }, "position": { "type": "string", "description": " 职位" }, "followed": { "type": "boolean", "format": "boolean", "description": " 关注" }, "mutualFollowed": { "type": "boolean", "format": "boolean", "description": " 互相关注标识" }, "readFlag": { "type": "boolean", "format": "boolean", "description": " 已读标识 true:已读 false:未读(小红点)" } }, "title": "UserFollowItem", "required": [ "id", "name", "companyName", "avatar", "position", "followed", "mutualFollowed", "readFlag" ] }, "UserItem": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": " 用户ID" }, "companyId": { "type": "integer", "format": "int64", "description": " 公司ID" }, "companyName": { "type": "string", "description": " 公司名称" }, "companyCode": { "type": "string", "description": " 公司编码(邀请码)" }, "companyLogo": { "$ref": "#/definitions/string", "description": " 公司LOGO" }, "flag": { "type": "integer", "format": "int32", "description": " 标识 1:管理员 2:普通用户 (有绑定角色是管理员)" }, "name": { "type": "string", "description": " 名称" }, "avatar": { "$ref": "#/definitions/string", "description": " 头像" }, "phone": { "type": "string", "description": " 手机号 唯一" }, "position": { "type": "string", "description": " 职位" }, "enable": { "type": "integer", "format": "int32", "description": " 启用状态 1:启用 2:禁用" }, "auditStatus": { "$ref": "#/definitions/int", "description": " 审核状态 0:待审核 1:审核通过 2:拒绝" }, "auditAt": { "type": "integer", "format": "int64", "description": " 审核时间" }, "followers": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 关注我的人 (冗余)" }, "following": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 我关注的人 (冗余)" }, "departments": { "type": "array", "items": { "type": "integer", "format": "int64" }, "description": " 所属部门" }, "accountFrom": { "type": "string", "description": " 账号来源 后台新增、扫码注册" } }, "title": "UserItem", "required": [ "id", "companyId", "companyName", "companyCode", "companyLogo", "flag", "name", "avatar", "phone", "position", "enable", "auditStatus", "auditAt", "followers", "following", "departments", "accountFrom" ] }, "UserNewsItem": { "type": "object", "properties": { "newsId": { "type": "integer", "format": "int64", "description": " 快讯ID" }, "type": { "type": "string", "description": " 快讯类型 文章:Article 讨论:Discuss ..." }, "title": { "type": "string", "description": " 标题" }, "summary": { "type": "string", "description": " 快讯概要" }, "time": { "type": "integer", "format": "int64", "description": " 时间" }, "readFlag": { "type": "boolean", "format": "boolean", "description": " 已读标识 true:已读 false:未读" }, "images": { "type": "array", "items": { "type": "string" }, "description": " 图片列表" }, "author": { "$ref": "#/definitions/UserItem", "description": " 作者" } }, "title": "UserNewsItem", "required": [ "newsId", "type", "title", "summary", "time", "readFlag", "images", "author" ] }, "UserSearchRequest": { "type": "object", "properties": { "page": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int32" }, "auditFlag": { "$ref": "#/definitions/int", "description": " 按审核状态 0:待审核 1:审核通过 2:拒绝" } }, "title": "UserSearchRequest" }, "UserSearchResponse": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/UserItem" } }, "total": { "type": "integer", "format": "int64" } }, "title": "UserSearchResponse", "required": [ "list", "total" ] }, "UserShowName": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "name": { "type": "string" } }, "title": "UserShowName", "required": [ "id", "name" ] }, "UserStatisticsRequest": { "type": "object", "properties": { "userId": { "type": "integer", "format": "int64" }, "itemFlag": { "type": "integer", "format": "int32", "description": "0:默认查询所有 1:他的帖子 2:他的评论/回复 4:他收到的赞 8:TA的圆桌讨论 16:被采纳" } }, "title": "UserStatisticsRequest", "required": [ "itemFlag" ] }, "UserStatisticsResponse": { "type": "object", "properties": { "totalArticle": { "type": "integer", "format": "int32", "description": " 累计发布文章" }, "totalComment": { "type": "integer", "format": "int32", "description": " 累计发布评论" }, "totalLoved": { "type": "integer", "format": "int32", "description": " 累计赞别人" }, "totalBeLoved": { "type": "integer", "format": "int32", "description": " 累计收到的赞" } }, "title": "UserStatisticsResponse", "required": [ "totalArticle", "totalComment", "totalLoved", "totalBeLoved" ] }, "Video": { "type": "object", "properties": { "url": { "type": "string", "description": "视频文件的地址" }, "cover": { "type": "string", "description": "封面" }, "width": { "type": "integer", "format": "int32", "description": "封面图片宽" }, "height": { "type": "integer", "format": "int32", "description": "封面图片长" } }, "title": "Video", "required": [ "url" ] }, "WhichUserLikeArticle": { "type": "object", "properties": { "articleId": { "type": "integer", "format": "int64", "description": " 文章id" }, "userId": { "type": "integer", "format": "int64", "description": " 人员id" }, "name": { "type": "string", "description": " 人员名称" }, "avatar": { "type": "string", "description": " 人员头像" }, "position": { "type": "string", "description": " 职位" }, "createdAt": { "type": "integer", "format": "int64", "description": " 点赞记录的时间" } }, "title": "WhichUserLikeArticle", "required": [ "articleId", "userId", "name", "avatar", "position", "createdAt" ] } }, "securityDefinitions": { "apiKey": { "type": "apiKey", "description": "Enter JWT Bearer token **_only_**", "name": "Authorization", "in": "header" } }, "security": [ { "apiKey": [] } ] }