From f102a3113d17a8a1238ffb2c1aea574f6857b932 Mon Sep 17 00:00:00 2001 From: dengbw Date: Fri, 10 Sep 2021 11:01:25 +0800 Subject: [PATCH] bobing_910 --- api/controllers/plan/Bobing.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/controllers/plan/Bobing.php b/api/controllers/plan/Bobing.php index fb5dc33f..4d54fa89 100644 --- a/api/controllers/plan/Bobing.php +++ b/api/controllers/plan/Bobing.php @@ -113,6 +113,7 @@ class Bobing extends HD_Controller $where = array('uid' => $uid, 'app_id' => $this->appConfig['app_id'], 'act_key' => $this->appConfig['act_key']); $ret = $this->mdBobingUser->update(array("credit = credit+{$credit}" => null), $where); if ($ret) { + $where['bo_date'] = date('Y-m-d'); $re_u = $this->mdBobingUserCredit->get($where); if ($re_u) { $this->mdBobingUserCredit->update(array("credit = credit+{$credit}" => null), $where);