文档
测试

商城用户获取短信验证码

GET
/api/common/code/getMobileCode

请求参数

参数名
类型
描述
必填
mobile
string
手机号码
必填
code
string
图形验证码。写死传666
必填
op
string
操作类型。注册或用户登录
必填
templateCode
string
SMS_215470320
必填
_rnd
13位时间戳
可选

响应参数

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

说明 / 示例

请求示例: `/api/common/code/getMobileCode?mobile=15398887765&code=666&op=%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&templateCode=SMS_215470320`