简要描述:

  • pc端/app端用户注册发短信接口

请求域名:

  • http://yunzshop.com

请求URL:

GET/app/index.php?i=2&c=entry&do=shop&m=yun_shop&route=member.register.sendCodeV2

参数:

参数名 是否必须 类型 说明
mobile string 手机号
state string 国家号
code string 验证码
captcha string 图形验证码
reset int null/0注册 1 修改密码/找回密码
sms_type int 1注册 2修改密码/找回密码
key int 图形验证码key,app请求需要该值,否则无法通过验证

返回示例:

正确时返回:

  {
    "status": 1
  }

错误时返回:

  {
    "status": 0,
    "result": {
	   "msg": '该手机号已被注册!不能获取验证码'
	}
  }

返回参数说明:

参数名 类型 说明
status int 发送状态 0-失败;1-成功

备注:

  • 更多返回错误代码请看首页的错误代码描述