mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
fix
This commit is contained in:
parent
1425ac5faf
commit
34cd8b15dc
2 changed files with 3 additions and 5 deletions
|
|
@ -179,12 +179,10 @@ export class ZZZPlugin extends plugin {
|
|||
*/
|
||||
async getPlayerInfo() {
|
||||
// 获取 米游社 API
|
||||
const { api, uid, deviceFp } = await this.getAPI();
|
||||
const { api, uid } = await this.getAPI();
|
||||
if (!api) return false;
|
||||
// 获取用户信息
|
||||
let userData = await api.getFinalData(this.e, 'zzzUser', {
|
||||
deviceFp,
|
||||
});
|
||||
let userData = await api.getFinalData(this.e, 'zzzUser');
|
||||
if (!userData) return false;
|
||||
// 取第一个用户信息
|
||||
userData =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue