definitions: model.Article: properties: create_by: description: Creator type: string create_time: description: Creation time type: string del_flag: description: Delete tag type: number id: description: Primary key type: string remark: description: Remark type: string update_by: description: Last updated by type: string update_time: description: Last update time type: string type: object model.Fail: properties: code: description: 错误编码 example: 500 type: integer msg: description: 错误信息 example: status bad request type: string type: object model.Login: properties: domain: description: 域 type: string name: description: 名字 type: string password: description: 密码 type: string type: object model.Scheduling: properties: code: description: 编码 type: integer name: description: 名称 type: string type: object model.Success: properties: code: description: 编码 example: 200 type: integer data: description: 返回数据 type: object type: object model.SysAppFun: properties: code: description: 编码 type: string create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number hidden: description: 是否隐藏 type: number icon: description: 菜单图标 type: string id: description: 主键 type: string image: description: 图片 type: string inheritance: description: 继承关系 type: string name: description: 名称 type: string order: description: 排序 type: number parent: description: 父菜单ID,一级菜单为null type: string perms: description: 授权(多个用逗号分隔,如:sys:user:add,sys:user:edit) type: string remark: description: 备注 type: string type: description: 类型 0:目录 1:菜单 2:按钮 type: number update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string url: description: 菜单URL,类型:1.普通页面(如用户管理, /sys/user) 2.嵌套完整外部页面,以http(s)开头的链接 3.嵌套服务器页面,使用iframe:前缀+目标URL(如SQL监控, iframe:/druid/login.html, iframe:前缀会替换成服务器地址) type: string type: object model.SysArea: properties: create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number id: description: 主键 type: string inheritance: description: 继承关系 type: string manager: description: 负责人 type: string name: description: 区域名称 type: string org_id: description: 组织ID type: string parent: description: 父节点 type: string remark: description: 备注 type: string temp_id: description: 模板ID type: string temp_value: description: 模板内容 type: string update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string type: object model.SysAttachment: properties: create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number durable: description: 是否持久化 0:否 1:是 type: number ext: description: ext type: string hash: description: hash type: string icon: description: 图标 type: string id: description: 主键 type: string name: description: 名称 type: string path: description: path type: string remark: description: 备注 type: string size: description: 大小 type: number type: description: 类型 type: string update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string url: description: url type: string uuid: description: uuid type: string type: object model.SysClient: properties: app_name: description: 应用归属 type: string client: description: 应用 type: string create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number domain: description: 域 type: string id: description: 主键 type: string name: description: 名称 type: string remark: description: 备注 type: string secret: description: 密钥 type: string update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string type: object model.SysDataPermission: properties: code: description: 编码 type: string create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number id: description: 主键 type: string name: description: 名称 type: string remark: description: 备注 type: string update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string type: object model.SysDomain: properties: api_url: description: 请求地址 type: string app_name: description: 应用归属 type: string auth_mode: description: 认证模式 0:集成登录 1:单点登录 type: number contact_email: description: 负责人邮箱 type: string contact_mobile: description: 负责人电话 type: string contact_name: description: 负责人 type: string create_by: description: 创建人 type: string create_time: description: 创建时间 type: string data_source: description: 数据库链接串 type: string del_flag: description: 删除标记 type: number domain: description: 域 type: string domain_url: description: 域绑定 type: string driver_name: description: 驱动名称 type: string full_name: description: 全名 type: string id: description: 主键 type: string login_url: description: 登录地址 type: string name: description: 名字 type: string remark: description: 备注 type: string static_url: description: 静态地址 type: string status: description: 状态 0:禁用 1:正常 type: number sync_flag: description: 是否同步了数据库标志 type: number theme: description: 样式 type: string type: description: 域类型 type: number update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string type: object model.SysMenu: properties: code: description: 编码 type: string component: description: 菜单组件 type: string create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number hidden: description: 是否隐藏 type: number icon: description: 菜单图标 type: string id: description: 主键 type: string inheritance: description: 继承关系 type: string name: description: 名称 type: string order: description: 排序 type: number parent: description: 父菜单ID,一级菜单为null type: string perms: description: 授权(多个用逗号分隔,如:sys:user:add,sys:user:edit) type: string remark: description: 备注 type: string type: description: 类型 0:目录 1:菜单 2:按钮 type: number update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string url: description: 菜单URL,类型:1.普通页面(如用户管理, /sys/user) 2.嵌套完整外部页面,以http(s)开头的链接 3.嵌套服务器页面,使用iframe:前缀+目标URL(如SQL监控, iframe:/druid/login.html, iframe:前缀会替换成服务器地址) type: string type: object model.SysNotification: properties: create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number id: description: 主键 type: string parameters: description: 额外数据 type: string recipient_id: description: 接受者 type: string reference_id: description: 对象引用 type: string remark: description: 备注 type: string sender_id: description: 发送者 type: string type: description: 消息类型 type: number unread: description: 是否已读 type: number update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string type: object model.SysOptionset: properties: code: description: 编码 type: string create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number id: description: 主键 type: string name: description: 名称 type: string remark: description: 备注 type: string update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string value: description: 值 type: string type: object model.SysOrg: properties: code: description: 编码 type: string create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number full_name: description: 全名 type: string id: description: 主键 type: string inheritance: description: 继承关系 type: string leader: description: 领导人 type: string name: description: 名称 type: string order: description: 排序 type: number parent: description: 上级组织 type: string remark: description: 备注 type: string status: description: 状态 0:禁用 1:正常 type: number type: description: 组织类型 type: number update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string type: object model.SysPermission: properties: code: description: 编码 type: string create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number id: description: 主键 type: string name: description: 名称 type: string remark: description: 备注 type: string update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string type: object model.SysRole: properties: admin_index: description: 角色进入后台首页组件 type: string app_index: description: 角色app首页url type: string code: description: 编码 type: string create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number id: description: 主键 type: string name: description: 名称 type: string remark: description: 备注 type: string status: description: 状态 0:禁用 1:正常 type: number update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string type: object model.SysTag: properties: create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number group_id: description: 分组ID type: string id: description: 主键 type: string name: description: 名称 type: string remark: description: 备注 type: string update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string type: object model.SysTagGroup: properties: code: description: 编码 type: string create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number id: description: 主键 type: string name: description: 名称 type: string remark: description: 备注 type: string update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string type: object model.SysUser: properties: avatar: description: 头像 type: string create_by: description: 创建人 type: string create_time: description: 创建时间 type: string del_flag: description: 删除标记 type: number domain: description: 域 type: string email: description: 邮箱 type: string gender: description: 性别(0:女,1:男) type: number id: description: 主键 type: string intro: description: 简介 type: string mobile: description: 电话 type: string name: description: 名字 type: string nickname: description: 全名 type: string org_id: description: 组织ID type: string password: description: 密码 type: string remark: description: 备注 type: string salt: description: 盐噪点 type: string status: description: 状态(0:禁用,1:正常) type: number type: description: 用户类型 type: number update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string type: object model.SysUserTemplate: properties: create_by: description: 创建人 type: string create_time: description: 创建时间 type: string default: description: 是否默认 1:是 0:否 type: number del_flag: description: 删除标记 type: number id: description: 主键 type: string name: description: 模板名称 type: string remark: description: 备注 type: string type: description: 模板类型 type: number update_by: description: 最后更新人 type: string update_time: description: 最后更新时间 type: string type: object model.Worker: properties: code: description: 编码 type: string error: description: 错误信息 type: object files: description: 文件 items: type: string type: array name: description: 名称 type: string payload: description: 表单 type: object result: description: 结果 type: object status: description: 状态 type: integer user: $ref: '#/definitions/model.SysUser' description: 用户 type: object type: object host: localhost:8081 info: contact: {} license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html title: oauth version: "1.0" paths: /api/article/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: Article info in: body name: user schema: $ref: '#/definitions/model.Article' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: Add article tags: - Article controller /api/article/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: article in: body name: article schema: $ref: '#/definitions/model.Article' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: Delete article tags: - Article controller /api/article/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: Article id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: Get article info tags: - Article controller /api/article/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: Page number in: query name: page type: integer - description: Page size in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: Article page query tags: - Article controller /api/article/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: Article info in: body name: user schema: $ref: '#/definitions/model.Article' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: Update article tags: - Article controller /api/sys/app/fun/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: APP功能信息 in: body name: user schema: $ref: '#/definitions/model.SysAppFun' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加APP功能 tags: - APP功能 /api/sys/app/fun/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: APP功能 in: body name: sys_app_fun schema: $ref: '#/definitions/model.SysAppFun' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除APP功能 tags: - APP功能 /api/sys/app/fun/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: APP功能id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取APP功能信息 tags: - APP功能 /api/sys/app/fun/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: APP功能分页查询 tags: - APP功能 /api/sys/app/fun/tree: get: parameters: - description: 认证令牌 in: header name: Authorization type: string responses: "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' summary: 菜单树形结构 tags: - APP功能 /api/sys/app/fun/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: APP功能信息 in: body name: user schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新APP功能 tags: - APP功能 /api/sys/area/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 区域信息 in: body name: user schema: $ref: '#/definitions/model.SysArea' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加区域 tags: - 区域 /api/sys/area/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 区域 in: body name: sys_area schema: $ref: '#/definitions/model.SysArea' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除区域 tags: - 区域 /api/sys/area/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 区域id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取区域信息 tags: - 区域 /api/sys/area/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 区域分页查询 tags: - 区域 /api/sys/area/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 区域信息 in: body name: user schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新区域 tags: - 区域 /api/sys/attachment/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 附件信息 in: body name: user schema: $ref: '#/definitions/model.SysAttachment' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加附件 tags: - 附件 /api/sys/attachment/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 附件 in: body name: sys_attachment schema: $ref: '#/definitions/model.SysAttachment' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除附件 tags: - 附件 /api/sys/attachment/export: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 附件名称 in: query name: file_name type: string - description: 附件ID in: query name: file_id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 附件导出 tags: - 附件 /api/sys/attachment/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 附件id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取附件信息 tags: - 附件 /api/sys/attachment/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 附件分页查询 tags: - 附件 /api/sys/attachment/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 附件信息 in: body name: user schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新附件 tags: - 附件 /api/sys/attachment/upload: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 上传附件 tags: - 附件 /api/sys/cas/affirm: post: consumes: - application/json responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 用户授权 tags: - 认证中心 /api/sys/cas/authorize: get: responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 用户授权 tags: - 认证中心 /api/sys/cas/check: get: parameters: - description: openid in: query name: openid type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 检验令牌 tags: - 认证中心 /api/sys/cas/login: post: consumes: - multipart/form-data parameters: - description: 用户名称 in: formData name: username type: string - description: 用户密码 in: formData name: password type: string - description: 用户域 in: formData name: domain type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 用户认证 tags: - 认证中心 /api/sys/cas/logout: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 定向URL in: query name: redirect_uri type: string - description: 状态 in: query name: state type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 注销信息 tags: - 认证中心 /api/sys/cas/oauth2: get: responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 授权回调 tags: - 认证中心 /api/sys/cas/profile: get: parameters: - description: 认证令牌 in: header name: Authorization type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 用户信息 tags: - 认证中心 /api/sys/cas/qrcode: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: '类型(0: 微信 1:叮叮)' in: query name: type type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 扫码登录(绑定第三方) tags: - 认证中心 /api/sys/cas/refresh: get: responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 刷新令牌 tags: - 认证中心 /api/sys/cas/token: post: consumes: - application/json responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取令牌 tags: - 认证中心 /api/sys/cas/url: get: parameters: - description: 定向URL in: query name: redirect_uri type: string - description: 状态 in: query name: state type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 授权地址 tags: - 认证中心 /api/sys/client/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 客户端信息 in: body name: user schema: $ref: '#/definitions/model.SysClient' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加客户端 tags: - 客户端 /api/sys/client/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 客户端 in: body name: sys_client schema: $ref: '#/definitions/model.SysClient' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除客户端 tags: - 客户端 /api/sys/client/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 客户端id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取客户端信息 tags: - 客户端 /api/sys/client/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 客户端分页查询 tags: - 客户端 /api/sys/client/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 客户端信息 in: body name: user schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新客户端 tags: - 客户端 /api/sys/data/permission/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 数据权限信息 in: body name: user schema: $ref: '#/definitions/model.SysDataPermission' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加数据权限 tags: - 数据权限 /api/sys/data/permission/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 数据权限 in: body name: sys_data_permission schema: $ref: '#/definitions/model.SysDataPermission' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除数据权限 tags: - 数据权限 /api/sys/data/permission/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 数据权限id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取数据权限信息 tags: - 数据权限 /api/sys/data/permission/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 数据权限分页查询 tags: - 数据权限 /api/sys/data/permission/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 数据权限信息 in: body name: user schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新数据权限 tags: - 数据权限 /api/sys/dingtalk/oauth2: get: responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 授权回调 tags: - 钉钉 /api/sys/domain/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 域信息 in: body name: user schema: $ref: '#/definitions/model.SysDomain' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加域 tags: - 域 /api/sys/domain/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 域 in: body name: sys_domain schema: $ref: '#/definitions/model.SysDomain' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除域 tags: - 域 /api/sys/domain/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 域id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取域信息 tags: - 域 /api/sys/domain/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 域分页查询 tags: - 域 /api/sys/domain/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 域信息 in: body name: user schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新域 tags: - 域 /api/sys/menu/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 菜单信息 in: body name: sys_menu schema: $ref: '#/definitions/model.SysMenu' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加菜单 tags: - 菜单 /api/sys/menu/batch_del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 菜单 in: body name: sys_menu schema: items: $ref: '#/definitions/model.SysMenu' type: array responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除菜单 tags: - 菜单 /api/sys/menu/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 菜单 in: body name: sys_menu schema: $ref: '#/definitions/model.SysMenu' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除菜单 tags: - 菜单 /api/sys/menu/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 菜单id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取菜单信息 tags: - 菜单 /api/sys/menu/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 菜单分页查询 tags: - 菜单 /api/sys/menu/sidebar: get: parameters: - description: 认证令牌 in: header name: Authorization type: string responses: "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' summary: 系统菜单 tags: - 菜单 /api/sys/menu/tree: get: parameters: - description: 认证令牌 in: header name: Authorization type: string responses: "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' summary: 菜单树形结构 tags: - 菜单 /api/sys/menu/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 菜单信息 in: body name: sys_menu schema: $ref: '#/definitions/model.SysMenu' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新菜单 tags: - 菜单 /api/sys/notification/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 站内消息信息 in: body name: notification schema: $ref: '#/definitions/model.SysNotification' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加站内消息 tags: - 站内消息 /api/sys/notification/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 站内消息 in: body name: sys_notification schema: $ref: '#/definitions/model.SysNotification' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除站内消息 tags: - 站内消息 /api/sys/notification/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 站内消息id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取站内消息信息 tags: - 站内消息 /api/sys/notification/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 站内消息分页查询 tags: - 站内消息 /api/sys/notification/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 站内消息信息 in: body name: notification schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新站内消息 tags: - 站内消息 /api/sys/optionset/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 字典信息 in: body name: user schema: $ref: '#/definitions/model.SysOptionset' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加字典 tags: - 字典 /api/sys/optionset/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 字典 in: body name: sys_optionset schema: $ref: '#/definitions/model.SysOptionset' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除字典 tags: - 字典 /api/sys/optionset/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 字典id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取字典信息 tags: - 字典 /api/sys/optionset/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 字典分页查询 tags: - 字典 /api/sys/optionset/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 字典信息 in: body name: user schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新字典 tags: - 字典 /api/sys/org/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 组织信息 in: body name: user schema: $ref: '#/definitions/model.SysOrg' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加组织 tags: - 组织 /api/sys/org/batch_del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 组织 in: body name: sys_org schema: items: $ref: '#/definitions/model.SysOrg' type: array responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除组织 tags: - 组织 /api/sys/org/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 组织 in: body name: sys_org schema: $ref: '#/definitions/model.SysOrg' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除组织 tags: - 组织 /api/sys/org/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 组织id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取组织信息 tags: - 组织 /api/sys/org/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 组织分页查询 tags: - 组织 /api/sys/org/tree: get: parameters: - description: 认证令牌 in: header name: Authorization type: string responses: "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' summary: 菜单树形结构 tags: - 组织 /api/sys/org/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 组织信息 in: body name: user schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新组织 tags: - 组织 /api/sys/permission/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 权限信息 in: body name: user schema: $ref: '#/definitions/model.SysPermission' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加权限 tags: - 权限 /api/sys/permission/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 权限 in: body name: sys_permission schema: $ref: '#/definitions/model.SysPermission' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除权限 tags: - 权限 /api/sys/permission/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 权限id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取权限信息 tags: - 权限 /api/sys/permission/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 权限分页查询 tags: - 权限 /api/sys/permission/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 权限信息 in: body name: user schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新权限 tags: - 权限 /api/sys/role/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 角色信息 in: body name: sys_role schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加角色 tags: - 角色 /api/sys/role/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 角色 in: body name: sys_role schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除角色 tags: - 角色 /api/sys/role/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 角色id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取角色信息 tags: - 角色 /api/sys/role/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 角色分页查询 tags: - 角色 /api/sys/role/role_app_fun_tree: get: parameters: - description: 认证令牌 in: header name: Authorization type: string responses: "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' summary: 角色App功能树形结构 tags: - 角色 /api/sys/role/role_menu_tree: get: parameters: - description: 认证令牌 in: header name: Authorization type: string responses: "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' summary: 角色菜单树形结构 tags: - 角色 /api/sys/role/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 角色信息 in: body name: sys_role schema: $ref: '#/definitions/model.SysRole' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新角色 tags: - 角色 /api/sys/scheduling/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 调度信息 in: body name: scheduling schema: $ref: '#/definitions/model.Scheduling' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加调度 tags: - 调度 /api/sys/scheduling/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 调度 in: body name: scheduling schema: $ref: '#/definitions/model.Scheduling' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除调度 tags: - 调度 /api/sys/scheduling/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 调度id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' tags: - 调度 /api/sys/scheduling/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 调度分页查询 tags: - 调度 /api/sys/scheduling/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 调度信息 in: body name: scheduling schema: $ref: '#/definitions/model.Scheduling' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新调度 tags: - 调度 /api/sys/tag/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 标签信息 in: body name: sys_tag schema: $ref: '#/definitions/model.SysTag' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加标签 tags: - 标签 /api/sys/tag/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 标签 in: body name: sys_tag schema: $ref: '#/definitions/model.SysUserTemplate' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除标签 tags: - 标签 /api/sys/tag/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 标签id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取标签信息 tags: - 标签 /api/sys/tag/group/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 标签组信息 in: body name: sys_tag_group schema: $ref: '#/definitions/model.SysTagGroup' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加标签组 tags: - 标签组 /api/sys/tag/group/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 标签 in: body name: sys_tag_group schema: $ref: '#/definitions/model.SysTagGroup' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除标签组 tags: - 标签组 /api/sys/tag/group/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 标签组id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取标签组信息 tags: - 标签组 /api/sys/tag/group/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 标签组分页查询 tags: - 标签组 /api/sys/tag/group/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 标签组信息 in: body name: sys_tag_group schema: $ref: '#/definitions/model.SysTagGroup' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新标签组 tags: - 标签组 /api/sys/tag/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 标签分页查询 tags: - 标签 /api/sys/tag/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 标签信息 in: body name: sys_tag schema: $ref: '#/definitions/model.SysTag' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新标签 tags: - 标签 /api/sys/tracker/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 日志id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取日志信息 tags: - 日志 /api/sys/tracker/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 日志分页查询 tags: - 日志 /api/sys/user/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 用户信息 in: body name: user schema: $ref: '#/definitions/model.SysUser' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加用户 tags: - 用户 /api/sys/user/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 用户信息 in: body name: user schema: $ref: '#/definitions/model.SysUser' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除用户 tags: - 用户 /api/sys/user/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 用户id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取用户信息 tags: - 用户 /api/sys/user/login: post: consumes: - application/json parameters: - description: 用户信息 in: body name: payload schema: $ref: '#/definitions/model.Login' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 用户认证 tags: - 用户 /api/sys/user/logout: get: parameters: - description: 认证令牌 in: header name: Authorization type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 用户退出登录 tags: - 用户 /api/sys/user/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 用户分页查询 tags: - 用户 /api/sys/user/template/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 用户模板信息 in: body name: sys_user_template schema: $ref: '#/definitions/model.SysUserTemplate' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加用户模板 tags: - 用户模板 /api/sys/user/template/del: delete: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 用户模板信息 in: body name: sys_user_template schema: $ref: '#/definitions/model.SysUserTemplate' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 删除用户模板 tags: - 用户模板 /api/sys/user/template/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 用户模板id in: query name: id type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取用户模板信息 tags: - 用户模板 /api/sys/user/template/page: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 页码 in: query name: page type: integer - description: 单页数 in: query name: size type: integer responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 用户模板分页查询 tags: - 用户模板 /api/sys/user/template/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 用户模板信息 in: body name: sys_user_template schema: $ref: '#/definitions/model.SysUserTemplate' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新用户模板 tags: - 用户模板 /api/sys/user/update: put: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: 用户信息 in: body name: user schema: $ref: '#/definitions/model.SysUser' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 更新用户 tags: - 用户 /api/sys/wechat/oauth2: get: responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 授权回调 tags: - 微信 /api/sys/worker/add: post: consumes: - application/json parameters: - description: 认证令牌 in: header name: Authorization type: string - description: worker信息 in: body name: worker schema: $ref: '#/definitions/model.Worker' responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 添加worker tags: - worker /api/sys/worker/get: get: parameters: - description: 认证令牌 in: header name: Authorization type: string - description: worker code in: query name: code type: string responses: "200": description: OK schema: $ref: '#/definitions/model.Success' "403": description: Forbidden schema: $ref: '#/definitions/model.Fail' "500": description: Internal Server Error schema: $ref: '#/definitions/model.Fail' summary: 获取worker信息 tags: - worker securityDefinitions: OAuth2AccessCode: authorizationUrl: http://localhost:8081/api/sys/cas/authorize flow: accessCode scopes: admin: Grants read and write access to administrative information read: Grants read access write: Grants write access tokenUrl: http://localhost:8081/api/sys/cas/token type: oauth2 swagger: "2.0"