Commit 56a185f4 authored by zhangxiaolin's avatar zhangxiaolin

添加未登录验证码发送

parent 54932222
......@@ -172,16 +172,43 @@ paths:
/account/code:
post:
summary: 发送手机验证码
description: 发送手机验证码
description: 未登录情况下,发送手机验证码
tags:
- Account
parameters:
- name: type
in: formData
description: 是那种类型要求发送的(1, LOGIN, u登陆) (3, UPDATE,修改属性) (4, REGISTER,提交注册)
description: 要求发送的类型(1,登陆) (4,提交注册)
required: true
type: integer
format: integer
- name: phone
in: formData
description: 手机号
required: true
type: integer
format: integer
- name: image_code
in: formData
description: 验证码
required: true
type: integer
format: integer
responses:
'200':
description: OK
schema: {}
examples:
application/json:
error: 0
message: ''
data: null
/account/code/online:
post:
summary: 登陆之后,发送手机验证码
description: 登陆之后,发送手机验证码
tags:
- Account
responses:
'200':
description: OK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment