文档
测试

验证码登录

POST
http://{{host}}/index.php?s=%2Fapi%2Fuser%2Fsms_login&phone=13956934659&wxapp_id=10001&code=6199

请求参数

参数名
类型
描述
必填
s
string
示例:/api/user/sms_login
必填
phone
int
示例:13956934659
必填
wxapp_id
int
示例:10001
必填
code
int
示例:6199
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
user_id
int
示例:17137
必填
token
string
示例:eadf09836e7812e6cc319827c04c7521
必填