yingzi 2 년 전
부모
커밋
ad992eae9c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Model/Finance/MCustomerBalance.Class.php

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

@@ -61,7 +61,6 @@ class MCustomerBalance extends MBaseModel
     public function addCustomerBalance($customerId, $changedMoney)
     {
         $tableName = $this->objDCustomerBalance->getTableName('qianniao_customer_balance_' . $this->enterpriseId, $customerId, $this->cutTable);
-        var_dump($tableName);
         $this->objDCustomerBalance->setTable($tableName);
 
         //获取客户目前的余额
@@ -77,7 +76,9 @@ class MCustomerBalance extends MBaseModel
             'createTime'     => time(),
             'updateTime'     => time()
         ];
+        var_dump("xxx");
         $detailId = $this->objDCustomerBalance->insert($balanceData);
+        var_dump("aaa");
         if ($detailId === false) {
             return ResultWrapper::fail($this->objDCustomerBalance->error(), ErrorCode::$dberror);
         }