From b6b689d65532f5dff00e26b37f6c51e64a68c713 Mon Sep 17 00:00:00 2001 From: xuecong <> Date: Thu, 11 Nov 2021 17:17:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=9A=E4=B8=BB=E5=B7=B2?= =?UTF-8?q?=E8=AF=BB=E9=80=9A=E7=9F=A5=E6=9C=AA=E8=AE=B0=E5=BD=95=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/module/mp/controller/notice/read.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/module/mp/controller/notice/read.ts b/server/src/module/mp/controller/notice/read.ts index 456cda5..00cf7ce 100644 --- a/server/src/module/mp/controller/notice/read.ts +++ b/server/src/module/mp/controller/notice/read.ts @@ -68,7 +68,7 @@ const MpNoticeReadAction = { const exit = await ctx.model .from('ejyy_notice_to_user_readed') .where('wechat_mp_user_id', ctx.mpUserInfo.id) - .andWhere('id', id) + .andWhere('notice_id', id) .first(); if (!exit) {