Url
[接口服务器地址]/api/token/create.html
Request Headers
Name |
必选 |
Type |
Description |
Content-Type |
true |
string |
application/json; charset=UTF-8 |
authen |
true |
string |
Authen 什么是认证码
|
appid |
true |
string |
AppID 什么是接入ID
|
timestamp |
true |
string |
Timestamp |
uid |
true |
string |
UID |
lang |
true |
string |
Language zh-cn,en-us
|
Request Body
Name |
必选 |
Type |
Description |
user_id |
true |
string |
用户ID |
platform |
true |
string |
平台类型 1 pc 2 mac 3 qt 4 ios 5 android 6 web, 99为临时令牌,[得到令牌]后自动清除 |
flag |
true |
string |
标志 0 普通模式 1 检测用户是否在线 |
expire_miniute |
true |
string |
过期分钟 0 系统设置的值 |
Return
{"status":1,"code":0,"msg":"","data":{"user_id":"1","platform":"1","token":"543a6f2a8ee73a6b830430e0f16a83bb","create_time":1514736000,"expire_time":1514822400}}