This commit is contained in:
2025-06-22 21:17:39 +08:00
parent a96869f0ee
commit 0889225257
16 changed files with 72 additions and 50 deletions

View File

@@ -28,4 +28,4 @@ export class UserSession {
/**
* 考虑是否使用sessionId代替id以节省存储空间
*/
*/

View File

@@ -18,7 +18,7 @@ export class UserService {
constructor(
@InjectRepository(User)
private readonly userRepository: Repository<User>,
) { }
) {}
/**
* @deprecated 尽量不使用该方法
@@ -40,7 +40,7 @@ export class UserService {
return this.userRepository.findOne({
where: {
userId,
}
},
});
}