Check Login (Required)
Description
Used to provide player login status after login.
Interface URL
java
//The domain is obtained from the developer.
http://xxxxxx.com/user/chkUserRequest Parameters
| Parameter Description | |
|---|---|
| sessionid | The client obtains the sessionid value from the "SDK login success" and returns it to the server. |
| token | The client obtains the token value from the "SDK login success" and returns it to the server. |
| signature | Any value can |
| timestamp | Time stamp |
Response Result
| code Description | |
|---|---|
| 2011 | The parameter is incorrect, or the login information is invalid or not logged in. |
| 1000 | Login is normal, logged in, and returns the userid of the logged-in user. |
Request Method
Both POST and GET requests must be supported. POST is recommended. The default content type is application/x-www-form-urlencoded.
Request Example
java
http://xxxxxxx.com/user/chkUser?timestamp=1234567890&sessionid=ccc35b482d8113facf1d352a9826e736&token=1234567890&signature=NONEResponse Example
java
{"code":"1000","message":"Success","userid":"1234567890"}