| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- basePath: /v1
- definitions:
- controller.ResponseBase:
- properties:
- code:
- type: integer
- memo:
- type: string
- type: object
- info:
- contact:
- email: support@swagger.io
- name: API Support
- url: http://www.swagger.io/support
- description: web框架 API 文档
- license:
- name: Apache 2.0
- url: http://www.apache.org/licenses/LICENSE-2.0.html
- termsOfService: http://swagger.io/terms/
- title: web框架
- version: "1.0"
- paths:
- /Auth/SignUp:
- post:
- consumes:
- - application/x-www-form-urlencoded
- description: 用户添加
- parameters:
- - description: 用户名
- in: formData
- name: userCode
- required: true
- type: string
- - description: 密码
- in: formData
- name: password
- required: true
- type: string
- - description: 邮箱
- in: formData
- name: email
- type: string
- - description: 手机号
- in: formData
- name: phone
- type: string
- - description: 姓名
- in: formData
- name: name
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/controller.ResponseBase'
- summary: 用户添加
- tags:
- - Auth
- securityDefinitions:
- ApiKeyAuth:
- in: header
- name: Authorization
- type: apiKey
- BasicAuth:
- type: basic
- OAuth2AccessCode:
- authorizationUrl: https://example.com/oauth/authorize
- flow: accessCode
- scopes:
- admin: ' Grants read and write access to administrative information'
- tokenUrl: https://example.com/oauth/token
- type: oauth2
- OAuth2Application:
- flow: application
- scopes:
- admin: ' Grants read and write access to administrative information'
- write: ' Grants write access'
- tokenUrl: https://example.com/oauth/token
- type: oauth2
- OAuth2Implicit:
- authorizationUrl: https://example.com/oauth/authorize
- flow: implicit
- scopes:
- admin: ' Grants read and write access to administrative information'
- write: ' Grants write access'
- type: oauth2
- OAuth2Password:
- flow: password
- scopes:
- admin: ' Grants read and write access to administrative information'
- read: ' Grants read access'
- write: ' Grants write access'
- tokenUrl: https://example.com/oauth/token
- type: oauth2
- swagger: "2.0"
|