文档
测试

获取手机验证码

GET
/api/common/code/getMobileCode

请求参数

参数名
类型
描述
必填
mobile
string
手机号码
必填
op
string
操作。注册或用户登录或修改密码
必填
templateCode
String
短信模板id,写死SMS_215470320。
必填
code
string
666
必填
userType
string
用户类型,1-商城用户,2-商家用户。
必填

响应参数

参数名
类型
描述
必填
result
int
示例:0
必填
data
object
示例:null
必填
msg
object
示例:null
必填

说明 / 示例

/api/common/code/getMobileCode?userType=2&mobile=15398887765&op=登录&templateCode=SMS_215470320&code=666