mirror of
https://github.com/crystelf/crystelf-admin.git
synced 2025-12-05 13:41:57 +00:00
fix:修复某些登录问题
This commit is contained in:
parent
9da541e99c
commit
7b0bc74755
@ -226,7 +226,7 @@ export default class LoginService extends plugin {
|
||||
|
||||
const qrPath = await loginInstance.login(qq, nickname);
|
||||
if (qrPath || qrPath !== 'none') {
|
||||
e.reply(segment.image(qrPath), true);
|
||||
e.reply(segment.image(`file:///${qrPath}`), true);
|
||||
const timerKey = `login:timer:${qq}`;
|
||||
await redis.set(timerKey, 120, 'pending');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user