definitions: apis.ContactInfoReply: properties: addr: type: string email: type: string id: type: integer phone: type: string type: object apis.JtContentItem: properties: content: type: string created_at: type: integer first_pics: items: type: string type: array id: type: integer publish_status: type: integer title: type: string type: object apis.JtContentListReply: properties: list: items: $ref: '#/definitions/apis.JtContentItem' type: array page: type: integer total: type: integer type: object apis.OperationLogItem: properties: id: type: integer module: type: string operation: type: string operation_time: type: integer origin_content: type: string target_content: type: string uid: type: integer user: type: string type: object apis.OperationLogListReply: properties: list: items: $ref: '#/definitions/apis.OperationLogItem' type: array page: type: integer total: type: integer type: object apis.PagePicItem: properties: created_at: type: integer id: type: integer pic: type: string type: object apis.PagePicListReply: properties: list: items: $ref: '#/definitions/apis.PagePicItem' type: array page: type: integer total: type: integer type: object apis.UserItem: properties: effective_end: type: integer effective_start: type: integer real_name: type: string status: description: 1有效 2 过期 type: integer uid: type: integer user: type: string user_type: type: integer type: object apis.UserListReply: properties: list: items: $ref: '#/definitions/apis.UserItem' type: array page: type: integer total: type: integer type: object base.HTTPError: properties: code: example: 500 format: int type: integer message: example: status bad request type: string type: object v1.ContactAddBody: properties: addr: type: string email: type: string phone: type: string type: object v1.ContactAddResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.ContactDelResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.ContactInfoResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/apis.ContactInfoReply' type: object message: default: success description: 消息 type: string type: object v1.ContactUpdateBody: properties: addr: type: string email: type: string id: type: integer phone: type: string type: object v1.ContactUpdateResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.JtContentAddBody: properties: content: type: string first_pics: description: 标题图片 items: type: string type: array publish_status: description: 1 发布 2 暂不发布 type: integer title: type: string type: object v1.JtContentAddResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.JtContentDelResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.JtContentInfoData: properties: content: type: string created_at: type: integer first_pics: items: type: string type: array id: type: integer publish_status: description: 1 发布 2 暂不发布 type: integer title: type: string type: object v1.JtContentInfoResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.JtContentInfoData' type: object message: default: success description: 消息 type: string type: object v1.JtContentListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/apis.JtContentListReply' type: object message: default: success description: 消息 type: string type: object v1.JtContentPublishBody: properties: id: type: integer publish_status: description: 1 发布 2 下架 type: integer type: object v1.JtContentPublishResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.JtContentUpdateBody: properties: content: type: string first_pics: items: type: string type: array id: type: integer publish_status: description: 1 发布 2 暂不发布 type: integer title: type: string type: object v1.JtContentUpdateResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.LoginBody: properties: password: type: string user: type: string type: object v1.LoginData: properties: token: type: string uid: type: integer user: type: string user_type: type: integer type: object v1.LoginResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/v1.LoginData' type: object message: default: success description: 消息 type: string type: object v1.OperationLogDelResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.OperationLogListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/apis.OperationLogListReply' type: object message: default: success description: 消息 type: string type: object v1.PagePicAddBody: properties: pic: type: string type: object v1.PagePicAddResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.PagePicDelResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.PagePicListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/apis.PagePicListReply' type: object message: default: success description: 消息 type: string type: object v1.PagePicUpdateBody: properties: id: type: integer pic: type: string type: object v1.PagePicUpdateResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.TokenResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: type: string message: default: success description: 消息 type: string refresh_token: type: string type: object v1.UploadResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: type: string message: default: success description: 消息 type: string type: object v1.UserAddBody: properties: effective_end: type: integer effective_start: type: integer password: type: string real_name: type: string user: type: string user_type: type: integer type: object v1.UserAddResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.UserDelResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.UserListResponse: properties: code: default: 0 description: 返回码 format: int type: integer data: $ref: '#/definitions/apis.UserListReply' type: object message: default: success description: 消息 type: string type: object v1.UserResetPasswordBody: properties: id: type: integer password: type: string type: object v1.UserResetPasswordResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object v1.UserUpdateBody: properties: effective_end: type: integer effective_start: type: integer id: type: integer password: type: string real_name: type: string user: type: string user_type: type: integer type: object v1.UserUpdateResponse: properties: code: default: 0 description: 返回码 format: int type: integer message: default: success description: 消息 type: string type: object info: contact: {} description: This is a gateway server. On the page, you can go to do testing for every API. license: {} title: Project xingjia-management-gateway's APIs version: "1.1" paths: /api/v1/file: get: consumes: - application/json description: 获取文件 parameters: - description: jwt token in: header name: token required: true type: string - description: ' ' in: query name: obj required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UploadResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 获取文件 tags: - download post: consumes: - application/json description: 上传文件 parameters: - description: jwt token in: header name: token required: true type: string - description: file in: formData name: file type: file produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UploadResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 上传文件 tags: - upload /api/v1/jt/announcement: delete: consumes: - application/json description: 删除公示公告 parameters: - description: ' ' in: header name: token required: true type: string - description: ' 记录id' in: query name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentDelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除公示公告 tags: - 公示公告 get: consumes: - application/json description: 公示公告列表 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: query name: page type: integer - description: ' ' in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 公示公告列表 tags: - 公示公告 post: consumes: - application/json description: 添加公示公告 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentAddBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentAddResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 添加公示公告 tags: - 公示公告 put: consumes: - application/json description: 修改公示公告 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentUpdateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentUpdateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 修改公示公告 tags: - 公示公告 /api/v1/jt/announcement/publish: put: consumes: - application/json description: 发布或下架公示公告 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentPublishBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentPublishResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 发布或下架公示公告 tags: - 公示公告 /api/v1/jt/contact: delete: consumes: - application/json description: 删除联系我们 parameters: - description: ' ' in: header name: token required: true type: string - description: ' 记录id' in: query name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.ContactDelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除联系我们 tags: - 联系我们 get: consumes: - application/json description: 联系我们信息 parameters: - description: ' ' in: header name: token required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.ContactInfoResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 联系我们信息 tags: - 联系我们 post: consumes: - application/json description: 添加联系我们 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.ContactAddBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.ContactAddResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 添加联系我们 tags: - 联系我们 put: consumes: - application/json description: 修改联系我们 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.ContactUpdateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.ContactUpdateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 修改联系我们 tags: - 联系我们 /api/v1/jt/desc: delete: consumes: - application/json description: 删除集团简介 parameters: - description: ' ' in: header name: token required: true type: string - description: ' 记录id' in: query name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentDelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除集团简介 tags: - 集团简介 get: consumes: - application/json description: 集团简介信息 parameters: - description: ' ' in: header name: token required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentInfoResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 集团简介信息 tags: - 集团简介 post: consumes: - application/json description: 添加集团简介 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentAddBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentAddResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 添加集团简介 tags: - 集团简介 put: consumes: - application/json description: 修改集团简介 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentUpdateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentUpdateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 修改集团简介 tags: - 集团简介 /api/v1/jt/desc/publish: put: consumes: - application/json description: 发布或下架集团简介 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentPublishBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentPublishResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 发布或下架集团简介 tags: - 集团简介 /api/v1/jt/df: delete: consumes: - application/json description: 删除党风廉洁 parameters: - description: ' ' in: header name: token required: true type: string - description: ' 记录id' in: query name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentDelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除党风廉洁 tags: - 党风廉洁 get: consumes: - application/json description: 党风廉洁列表 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: query name: page type: integer - description: ' ' in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 党风廉洁列表 tags: - 党风廉洁 post: consumes: - application/json description: 添加党风廉洁 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentAddBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentAddResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 添加党风廉洁 tags: - 党风廉洁 put: consumes: - application/json description: 修改党风廉洁 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentUpdateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentUpdateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 修改党风廉洁 tags: - 党风廉洁 /api/v1/jt/df/publish: put: consumes: - application/json description: 发布或下架党风廉洁 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentPublishBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentPublishResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 发布或下架党风廉洁 tags: - 党风廉洁 /api/v1/jt/hw: delete: consumes: - application/json description: 删除会务动态 parameters: - description: ' ' in: header name: token required: true type: string - description: ' 记录id' in: query name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentDelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除会务动态 tags: - 会务动态 get: consumes: - application/json description: 会务动态列表 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: query name: page type: integer - description: ' ' in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 会务动态列表 tags: - 会务动态 post: consumes: - application/json description: 添加会务动态 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentAddBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentAddResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 添加会务动态 tags: - 会务动态 put: consumes: - application/json description: 修改会务动态 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentUpdateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentUpdateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 修改会务动态 tags: - 会务动态 /api/v1/jt/hw/publish: put: consumes: - application/json description: 发布或下架会务动态 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentPublishBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentPublishResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 发布或下架会务动态 tags: - 会务动态 /api/v1/jt/lx: delete: consumes: - application/json description: 删除两学一做 parameters: - description: ' ' in: header name: token required: true type: string - description: ' 记录id' in: query name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentDelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除两学一做 tags: - 两学一做 get: consumes: - application/json description: 两学一做列表 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: query name: page type: integer - description: ' ' in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 两学一做列表 tags: - 两学一做 post: consumes: - application/json description: 添加两学一做 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentAddBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentAddResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 添加两学一做 tags: - 两学一做 put: consumes: - application/json description: 修改两学一做 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentUpdateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentUpdateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 修改两学一做 tags: - 两学一做 /api/v1/jt/lx/publish: put: consumes: - application/json description: 发布或下架两学一做 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentPublishBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentPublishResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 发布或下架两学一做 tags: - 两学一做 /api/v1/jt/news: delete: consumes: - application/json description: 删除兴嘉要闻 parameters: - description: ' ' in: header name: token required: true type: string - description: ' 记录id' in: query name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentDelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除兴嘉要闻 tags: - 兴嘉要闻 get: consumes: - application/json description: 兴嘉要闻列表 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: query name: page type: integer - description: ' ' in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 兴嘉要闻列表 tags: - 兴嘉要闻 post: consumes: - application/json description: 添加兴嘉要闻 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentAddBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentAddResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 添加兴嘉要闻 tags: - 兴嘉要闻 put: consumes: - application/json description: 修改兴嘉要闻 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentUpdateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentUpdateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 修改兴嘉要闻 tags: - 兴嘉要闻 /api/v1/jt/news/publish: put: consumes: - application/json description: 发布或下架兴嘉要闻 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentPublishBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentPublishResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 发布或下架兴嘉要闻 tags: - 兴嘉要闻 /api/v1/jt/page_pic: delete: consumes: - application/json description: 删除首页顶层图片 parameters: - description: ' ' in: header name: token required: true type: string - description: ' 记录id' in: query name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.PagePicDelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除首页顶层图片 tags: - 首页顶层图片 get: consumes: - application/json description: 首页顶层图片列表 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: query name: page type: integer - description: ' ' in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.PagePicListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 首页顶层图片列表 tags: - 首页顶层图片 post: consumes: - application/json description: 添加首页顶层图片 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.PagePicAddBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.PagePicAddResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 添加首页顶层图片 tags: - 首页顶层图片 put: consumes: - application/json description: 修改首页顶层图片 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.PagePicUpdateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.PagePicUpdateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 修改首页顶层图片 tags: - 首页顶层图片 /api/v1/jt/program: delete: consumes: - application/json description: 删除项目 parameters: - description: ' ' in: header name: token required: true type: string - description: ' 记录id' in: query name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentDelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除项目 tags: - 项目展示 get: consumes: - application/json description: 项目展示列表 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: query name: page type: integer - description: ' ' in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 项目展示列表 tags: - 项目展示 post: consumes: - application/json description: 添加项目展示 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentAddBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentAddResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 添加项目展示 tags: - 项目展示 put: consumes: - application/json description: 修改项目展示 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentUpdateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentUpdateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 修改项目展示 tags: - 项目展示 /api/v1/jt/program/publish: put: consumes: - application/json description: 发布或下架项目展示 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentPublishBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentPublishResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 发布或下架项目展示 tags: - 项目展示 /api/v1/jt/vision: delete: consumes: - application/json description: 删除发展愿景 parameters: - description: ' ' in: header name: token required: true type: string - description: ' 记录id' in: query name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentDelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除发展愿景 tags: - 发展愿景 get: consumes: - application/json description: 发展愿景信息 parameters: - description: ' ' in: header name: token required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentInfoResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 发展愿景信息 tags: - 发展愿景 post: consumes: - application/json description: 添加发展愿景 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentAddBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentAddResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 添加发展愿景 tags: - 发展愿景 put: consumes: - application/json description: 修改发展愿景 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentUpdateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentUpdateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 修改发展愿景 tags: - 发展愿景 /api/v1/jt/vision/publish: put: consumes: - application/json description: 发布或下架发展愿景 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.JtContentPublishBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.JtContentPublishResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 发布或下架发展愿景 tags: - 发展愿景 /api/v1/management_user: delete: consumes: - application/json description: 删除账号 parameters: - description: ' ' in: header name: token required: true type: string - description: ' 记录id' in: query name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UserDelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 删除账号 tags: - 账号 get: consumes: - application/json description: 账号列表 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: query name: page type: integer - description: ' ' in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UserListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 账号列表 tags: - 账号 post: consumes: - application/json description: 添加账号 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.UserAddBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UserAddResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 添加账号 tags: - 账号 put: consumes: - application/json description: 修改账号 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.UserUpdateBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UserUpdateResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 修改账号 tags: - 账号 /api/v1/management_user/password: put: consumes: - application/json description: 重置密码 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: body name: body required: true schema: $ref: '#/definitions/v1.UserResetPasswordBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.UserResetPasswordResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 重置密码 tags: - 账号 /api/v1/operation_log: delete: consumes: - application/json description: 批量删除操作日志 parameters: - description: ' ' in: header name: token required: true type: string - description: ' 日志id,以英文分号分割' in: query name: ids required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.OperationLogDelResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 批量删除操作日志 tags: - 操作日志 get: consumes: - application/json description: 操作日志列表 parameters: - description: ' ' in: header name: token required: true type: string - description: ' ' in: query name: page type: integer - description: ' ' in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.OperationLogListResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 操作日志列表 tags: - 操作日志 /api/v1/token_refresh: put: consumes: - application/json description: 刷新token parameters: - description: token in: header name: token required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.TokenResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 刷新token tags: - 用户 /api/v1/user/login: post: consumes: - application/json description: 登录 parameters: - description: 登录信息 in: body name: body required: true schema: $ref: '#/definitions/v1.LoginBody' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/v1.LoginResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/base.HTTPError' summary: 登录 tags: - 用户 swagger: "2.0"