bobing_910

This commit is contained in:
dengbw
2021-09-10 11:01:25 +08:00
parent 83af240048
commit f102a3113d
+1
View File
@@ -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);