bobing_910
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user