```javascript
WXAPI.loginMobileV2({
mobile: '13500000000'
})
```
+ deviceId and deviceName are the current login device id and device name. They are required items and can be passed in at will. They are only used as login information records.
+ mobile mobile phone number
+ pwd login password
+ expireSeconds login expiration time (seconds), pass -1 to mean never expires
```json
{
"code": 0,
"data": {
"uid": 1351478,
"openid": "om3AQ0YaRp3RZtFuZ1Wgk0OdQjvA",
"token": "83065b5e-9a75-4e64-8692-4f03eaa90348"
},
"msg": "success"
}
```
+ uid After successful login, return the user number
+ token is the token returned after the user logs in. Many subsequent user-related operations require the token to be operated.