chore: project

This commit is contained in:
xiaojunnuo
2026-02-13 23:51:27 +08:00
parent 83d81b64b3
commit 956d68695c
21 changed files with 75 additions and 38 deletions
@@ -88,7 +88,7 @@ export class NotificationService extends BaseService<NotificationEntity> {
if (!id) {
throw new ValidateException('id不能为空');
}
if (!userId) {
if (userId==null) {
throw new ValidateException('userId不能为空');
}
const res = await this.repository.findOne({
@@ -135,7 +135,7 @@ export class NotificationService extends BaseService<NotificationEntity> {
if (!id) {
throw new ValidateException('id不能为空');
}
if (!userId) {
if (userId==null) {
throw new ValidateException('userId不能为空');
}
await this.repository.update(