Loading…

SMS verification code bound to mobile phone number

First use the SMS verification code interface to issue the SMS verification code to the user, and then call the interface ```javascript WXAPI.bindMobileSms(token, mobile, code, pwd) ``` + token the current user’s login credentials + mobile mobile phone number + code SMS verification code received + pwd This parameter is optional. If passed, the user's login password will be set at the same time, and then the user can log in using the mobile phone number + password method. ```json { "code": 0, "data": "13500000000", "msg": "success" } ``` + data synchronously returns the bound mobile phone number