常规推送

This commit is contained in:
2026-06-04 10:39:14 +08:00
parent f1d7b4895c
commit 139bc3e74e
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ class ExamService extends Service {
where = { user_uid: uid };
}
const resetList = await ctx.model4.TShortMsg.destroy({ where });
return resetList.length == 0 ? false : resetList;
return resetList == 0 ? false : resetList;
} catch (error) {
const blockName = fileName + "--" + "delHistoryMsg";
ctx.app.middleware.utils.log('../../../serviceLog', blockName + ">>>>" + error);