From fe62121447c036b994a6794a439f213d956f2462 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Wed, 9 Oct 2024 17:49:25 +0800 Subject: [PATCH] 1 --- doc/SavingPot.py | 2 +- webapp/controller/SavingPotController.class.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/SavingPot.py b/doc/SavingPot.py index ef4193c4..ebea6c71 100644 --- a/doc/SavingPot.py +++ b/doc/SavingPot.py @@ -16,7 +16,7 @@ class SavingPot(object): ], 'response': [ _common.RspHead(), - ['!data', [Info()], '存钱罐信息'], + ['data', Info(), '存钱罐信息'], ] },{ 'name': 'smashOpenS', diff --git a/webapp/controller/SavingPotController.class.php b/webapp/controller/SavingPotController.class.php index 8c0c3e1d..d33be250 100644 --- a/webapp/controller/SavingPotController.class.php +++ b/webapp/controller/SavingPotController.class.php @@ -50,6 +50,7 @@ class SavingPotController extends BaseAuthedController { $awardService = new services\AwardService(); $this->_addItems($items, $awardService,$propertyChgService); $this->_setDailyV(TN_DAILY_DRAW_BIND_GOLD_STATE, 0,1); + $this->_setDailyV(TN_DAILY_BIND_GOLD, 0,0); SqlHelper::insert (myself()->_getSelfMysql(), 't_user_bind_gold_record', @@ -95,6 +96,7 @@ class SavingPotController extends BaseAuthedController { $awardService = new services\AwardService(); $this->_addItems($items, $awardService,$propertyChgService); $this->_setDailyV(TN_DAILY_DRAW_BIND_GOLD_STATE, 0,1); + $this->_setDailyV(TN_DAILY_BIND_GOLD, 0,0); SqlHelper::insert (myself()->_getSelfMysql(), 't_user_bind_gold_record',