| | |
| | | start_time: |
| | | type: string |
| | | type: object |
| | | model.Menu: |
| | | properties: |
| | | children: |
| | | items: |
| | | $ref: '#/definitions/model.Menu' |
| | | type: array |
| | | id: |
| | | description: 主键ID |
| | | type: integer |
| | | name: |
| | | type: string |
| | | parentId: |
| | | type: integer |
| | | path: |
| | | type: string |
| | | title: |
| | | type: string |
| | | type: object |
| | | model.Plan: |
| | | properties: |
| | | clientId: |
| | |
| | | userType: |
| | | $ref: '#/definitions/constvar.UserType' |
| | | username: |
| | | type: string |
| | | type: object |
| | | request.AddAuthority: |
| | | properties: |
| | | authorityName: |
| | | type: string |
| | | type: object |
| | | request.AddCity: |
| | |
| | | $ref: '#/definitions/model.MasterOrder' |
| | | type: array |
| | | type: object |
| | | response.MenuTreeResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Menu' |
| | | type: array |
| | | type: object |
| | | response.PageResult: |
| | | properties: |
| | | list: {} |
| | |
| | | info: |
| | | contact: {} |
| | | paths: |
| | | /api/authority/add: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddAuthority' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建角色 |
| | | tags: |
| | | - Authority |
| | | /api/base/captcha: |
| | | post: |
| | | produces: |
| | |
| | | summary: 更新主订单 |
| | | tags: |
| | | - MasterOrder |
| | | /api/menu/getMenu: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.MenuTreeResponse' |
| | | type: object |
| | | summary: 获取菜单树 |
| | | tags: |
| | | - Menu |
| | | /api/orderManage/add: |
| | | post: |
| | | parameters: |
| | |
| | | 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" |