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 }) // 如果用户没有宝箱, 则说明用户是新用户, 生成一个宝箱