fix: 修改config和推出登陆

This commit is contained in:
2025-03-22 19:49:35 +08:00
parent d739bd12b3
commit 5f63c4cf4b
6 changed files with 92 additions and 42 deletions

View File

@@ -51,7 +51,7 @@ export class ShareConfigService extends ConfigModel {
}
static async expireShareConfig(key: string, username: string) {
if (key && username) {
await redis.set(`config:share:${username}:${key}`, '', 'EX', 0);
await redis.set(`config:share:${username}:${key}`, '', 'EX', 1);
}
}
}