fix: 修改config和推出登陆
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user