From 5f93c028ce445901254d0e9e47e8412ce1de4cab Mon Sep 17 00:00:00 2001 From: CounterFire2023 <136581895+CounterFire2023@users.noreply.github.com> Date: Tue, 23 Apr 2024 19:46:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8A=A9=E5=8A=9B=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/chest.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/chest.controller.ts b/src/controllers/chest.controller.ts index d9a8666..93e3fbb 100644 --- a/src/controllers/chest.controller.ts +++ b/src/controllers/chest.controller.ts @@ -284,7 +284,7 @@ class BoxController extends BaseController { }) return { score: ENHANCE_CHEST_GIFT, - scoreBonus: doc.scoreBonus, + scoreBonus: scoreTotal, } // const chestsForUser = await ActivityChest.find({ user: uid, activity: user.activity }) // 如果用户没有宝箱, 则说明用户是新用户, 生成一个宝箱