用户登录
POST
/login
接口描述
用户登录
请求参数
multipart/form-data参数名
类型
描述
必填
type
int
1 为手机验证码登录,2 为账户名密码登录,必填
必填
phone
string
手机号,type 为 1 时必填
必填
code
string
验证码,type 为 1 时必填
必填
username
string
用户名,type 为 2 时必填
必填
password
string
密码,type 为 2 时必填
必填