yingzi před 3 roky
rodič
revize
1197f1d0ae
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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);
         }