12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- definitions:
- dto.AdminLoginInput:
- properties:
- password:
- example: ""
- type: string
- username:
- example: ""
- type: string
- required:
- - password
- - username
- type: object
- dto.AdminLoginOutput:
- properties:
- token:
- example: token
- type: string
- type: object
- middleware.Response:
- properties:
- data: {}
- errmsg:
- type: string
- errno:
- type: integer
- stack: {}
- trace_id: {}
- type: object
- info:
- contact: {}
- paths:
- /admin/login:
- post:
- consumes:
- - application/json
- description: 管理员登陆
- operationId: /admin/login
- parameters:
- - description: body
- in: body
- name: body
- required: true
- schema:
- $ref: '#/definitions/dto.AdminLoginInput'
- produces:
- - application/json
- responses:
- "200":
- description: success
- schema:
- allOf:
- - $ref: '#/definitions/middleware.Response'
- - properties:
- data:
- $ref: '#/definitions/dto.AdminLoginOutput'
- type: object
- summary: 管理员登陆
- tags:
- - 管理员借口
- swagger: "2.0"
|