12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- definitions:
- api.ChangePassWordStutrc:
- properties:
- newPassWord:
- type: string
- passWord:
- type: string
- userName:
- type: string
- type: object
- api.RegistAndLoginStuct:
- properties:
- passWord:
- type: string
- userName:
- type: string
- type: object
- info:
- contact: {}
- license: {}
- paths:
- /user/changePassWord:
- post:
- parameters:
- - description: 用户修改密码
- in: body
- name: data
- required: true
- schema:
- $ref: '#/definitions/api.ChangePassWordStutrc'
- type: object
- produces:
- - application/json
- responses:
- "200":
- description: '{"success":true,"data":{},"msg":"修改成功"}'
- schema:
- type: string
- summary: 用户修改密码
- tags:
- - User
- /user/login:
- post:
- parameters:
- - description: 用户登录接口
- in: body
- name: data
- required: true
- schema:
- $ref: '#/definitions/api.RegistAndLoginStuct'
- type: object
- produces:
- - application/json
- responses:
- "200":
- description: '{"success":true,"data":{},"msg":"登陆成功"}'
- schema:
- type: string
- summary: 用户登录
- tags:
- - User
- /user/regist:
- post:
- parameters:
- - description: 用户注册接口
- in: body
- name: data
- required: true
- schema:
- $ref: '#/definitions/api.RegistAndLoginStuct'
- type: object
- produces:
- - application/json
- responses:
- "200":
- description: '{"success":true,"data":{},"msg":"注册成功"}'
- schema:
- type: string
- summary: 用户注册账号
- tags:
- - User
- swagger: "2.0"
|