Loading…

Bind mobile phone number

```javascript WXAPI.aliappMiniappBindMobile({ token: '000' }) ``` + token current user login credentials + encryptedData Alipay Mini Program obtains the encrypted text of the mobile phone number, which is in a json format. Convert it to a string and submit it. - [https://opendocs.alipay.com/mini/api/getphonenumber?pathHash=a67c2790](https://opendocs.alipay.com/mini/api/getphonenumber?pathHash=a67c2790) There are 2 attributes in this json, as follows: -response - sign + pwd Pass this parameter to set the login password at the same time. You can use your mobile phone number and this password to log in later. return value ```json { "code": 0, "msg": "success", "data": "13500000000" } ``` + data bound mobile phone number