| | |
| | | msg: |
| | | type: string |
| | | type: object |
| | | model.AccountId: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Authority: |
| | | properties: |
| | | authorityName: |
| | |
| | | type: string |
| | | uuid: |
| | | type: string |
| | | type: object |
| | | request.AddAccountId: |
| | | properties: |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddAuthority: |
| | | properties: |
| | |
| | | items: |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.UpdateAccountId: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateAccountIds: |
| | | properties: |
| | | account_id: |
| | | items: |
| | | $ref: '#/definitions/request.UpdateAccountId' |
| | | type: array |
| | | required: |
| | | - account_id |
| | | type: object |
| | | request.UpdateCities: |
| | | properties: |
| | |
| | | required: |
| | | - timely_rate |
| | | type: object |
| | | response.AccountIdResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.AccountId' |
| | | type: array |
| | | type: object |
| | | response.CityResponse: |
| | | properties: |
| | | list: |
| | |
| | | type: object |
| | | response.DataResponse: |
| | | properties: |
| | | accountId: |
| | | description: 账户 |
| | | items: |
| | | $ref: '#/definitions/model.AccountId' |
| | | type: array |
| | | city: |
| | | description: 城市数据 |
| | | items: |
| | |
| | | info: |
| | | contact: {} |
| | | paths: |
| | | /api/accountId/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddAccountId' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加账户 |
| | | tags: |
| | | - AccountId |
| | | /api/accountId/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除账户 |
| | | tags: |
| | | - AccountId |
| | | /api/accountId/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.AccountIdResponse' |
| | | type: object |
| | | summary: 获取账户列表 |
| | | tags: |
| | | - AccountId |
| | | /api/accountId/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateAccountIds' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新账户 |
| | | tags: |
| | | - AccountId |
| | | /api/authority/add: |
| | | post: |
| | | consumes: |