| | |
| | | type: object |
| | | model.FollowRecord: |
| | | properties: |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | client_id: |
| | | type: integer |
| | | client_status_id: |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/model.Contact' |
| | | contact_id: |
| | | type: integer |
| | | contact_information_id: |
| | |
| | | properties: |
| | | authorityName: |
| | | type: string |
| | | casbinInfos: |
| | | items: |
| | | $ref: '#/definitions/request.CasbinInfo' |
| | | type: array |
| | | type: object |
| | | request.AddCity: |
| | | properties: |
| | |
| | | subOrder: |
| | | $ref: '#/definitions/request.SubOrder' |
| | | type: object |
| | | request.CasbinInfo: |
| | | properties: |
| | | method: |
| | | description: 方法 |
| | | type: string |
| | | path: |
| | | description: 路径 |
| | | type: string |
| | | type: object |
| | | request.ChangePasswordReq: |
| | | properties: |
| | | newPassword: |
| | |
| | | type: string |
| | | status: |
| | | type: integer |
| | | type: object |
| | | request.SetAuthorityMenu: |
| | | properties: |
| | | authorityId: |
| | | type: integer |
| | | menus: |
| | | items: |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.SetCity: |
| | | properties: |
| | |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建角色 |
| | | tags: |
| | | - Authority |
| | | /api/authority/setMenuAuthority: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 设置角色资源权限 |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.SetAuthorityMenu' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 设置角色菜单 |
| | | tags: |
| | | - Authority |
| | | /api/base/captcha: |
| | |
| | | - MasterOrder |
| | | /api/menu/getMenu: |
| | | get: |
| | | parameters: |
| | | - description: Authorization |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | data: |
| | | $ref: '#/definitions/response.MenuTreeResponse' |
| | | type: object |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 获取菜单树 |
| | | tags: |
| | | - Menu |
| | |
| | | summary: 设置用户信息 |
| | | tags: |
| | | - User |
| | | /authority/setDataAuthority: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 设置角色资源权限 |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddAuthority' |
| | | produces: |
| | | - application/json |
| | | responses: {} |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 设置角色资源权限 |
| | | tags: |
| | | - Authority |
| | | swagger: "2.0" |