文档
测试

登录注册

POST
http://39.105.217.42:8081/index/index/login?phone=17610696513&code=1234

接口描述

登录注册接口文档

请求头

参数名
类型
描述
必填
Content-Type
string
application/x-www-form-urlencoded
必填

请求参数

application/x-www-form-urlencoded
参数名
类型
描述
必填
phone
string
17610696513
必填
code
string
1234 手机短信验证码
必填
head
头像路径
必填
uname
名称
必填

响应参数

参数名
类型
描述
必填
meta
object
数据字典
必填
msg
string
示例:获取成功
必填
status
int
示例:200成功 其他编码失败
必填
message
object
数据字典
必填
id
int
示例:1
必填
name
string
示例:test
必填
mobile
string
示例:17610696513
必填
head
object
头像地址
必填
sex
object
性别可无
必填
integral
int
积分
必填
discount
int
优惠券数量
必填
money
string
示例:余额
必填
token
string
示例:330c0bcfe92038299243bc91c8a46f47
必填