yingzi 2 years ago
parent
commit
1197f1d0ae
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Model/Finance/MCustomerBalance.Class.php

+ 2 - 0
Model/Finance/MCustomerBalance.Class.php

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