发送验证码

接口地址:/shop/sendCode

post方式

参数及格式如下:

  • phone:手机号

  • tpl_id:需要发送验证码时的场景,约定1为登陆时,3为设置安全密码时,4为添加银行卡

返回格式:

  • msg为success,则为成功;

  • 若验证码输入有误,则msg为'验证码输入有误'

  • 若绑定失败,则msg为'绑定失败,请重试'

    ``` { "code":1, "data":{

      },

    "msg":"success" }

```

Last updated

Was this helpful?