We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4de4c5 commit 5f7311eCopy full SHA for 5f7311e
1 file changed
src/api/web/v1/user.md
@@ -27,13 +27,13 @@ GET /v1/user/info
27
"goldCoinAmount": 114.51 // 金币数
28
}
29
},
30
- "msg": "success"
+ "msg": "success" // 返回消息
31
32
```
33
34
## 获取用户主页信息
35
36
-GET /v1/user/homepage?userId=你要查询的用户ID(例如7058262)
+GET /v1/user/homepage?userId={你要查询的用户ID(例如1231230)}
37
38
::: tip
39
如果用户不存在/已注销仍然会返回数据,特点就是无头像,名称,注册时间戳为0等.
@@ -66,6 +66,22 @@ GET /v1/user/homepage?userId=你要查询的用户ID(例如7058262)
66
"isVip": 1 // 是否为 VIP, 1为是VIP
67
68
69
70
+}
71
+```
72
+
73
+## 复制用户token
74
75
+GET /v1/user/get-token?token={需要复制的用户token}
76
77
+响应体:
78
79
+```JSONC
80
+{
81
+ "code": 1, // 响应码,1表示正常
82
+ "data": {
83
+ "token": "19d7k3js-****-****-****-************"
84
+ },
85
86
87
0 commit comments