mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: 修复鉴权问题
This commit is contained in:
parent
88331e938d
commit
8e64e45c7c
@ -2090,7 +2090,7 @@ export class tools extends plugin {
|
||||
return false;
|
||||
}
|
||||
const whiteList = await redisGetKey(REDOS_YUNZAI_WHITELIST);
|
||||
return whiteList.includes(userId);
|
||||
return whiteList.includes(userId) || whiteList.includes(userId.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user