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);