Class: JNetworkAccount
Methods
-
accountLogin(mobile, password)
-
用户登录
Parameters:
| Name |
Type |
Description |
mobile |
string
|
登录需要的手机号码 |
password |
string
|
登录需要的密码 |
Returns:
-
Type
-
Object
|
*
-
accountLogout(sessionId)
-
用户登出
Parameters:
| Name |
Type |
Description |
sessionId |
|
用户登录标识 |
Returns:
-
Type
-
Object
|
*
-
accountRegister(mobile, verifyCode, password)
-
注册用户
Parameters:
| Name |
Type |
Description |
mobile |
|
用户的手机号码 |
verifyCode |
|
验证码 |
password |
|
密码 |
Returns:
-
Type
-
Object
|
*
-
accountUpdatepass(mobile, verfyCode, password)
-
忘记密码并且找回密码
Parameters:
| Name |
Type |
Description |
mobile |
|
手机号码 |
verfyCode |
|
验证码 |
password |
|
新密码 |
Returns:
-
Type
-
Object
|
*
-
accountVerifyCode(mobile, type)
-
获取验证码
Parameters:
| Name |
Type |
Description |
mobile |
|
接收验证码的手机号码 |
type |
|
验证码类型 (1:注册使用 2:忘记密码使用) |
Returns:
-
Type
-
Object
|
*