|
|
@@ -227,7 +227,9 @@ class MCustomerBalance extends MBaseModel
|
|
|
public function updateCustomerBalance($customerId, $changedMoney)
|
|
|
{
|
|
|
$dbResult = $this->objDCustomer->set_inc('money', $customerId, $changedMoney);
|
|
|
+
|
|
|
if ($dbResult === false) {
|
|
|
+ var_dump("11111111111");
|
|
|
return ResultWrapper::fail($this->objDCustomer->error(), ErrorCode::$dberror);
|
|
|
}
|
|
|
|