yingzi 2 years ago
parent
commit
1c20c8aafd

+ 0 - 1
Mall/Framework/Core/SqlHelper.Class.php

@@ -605,7 +605,6 @@ abstract class SqlHelper
     protected function query($sql)
     {
         if(!empty($sql)){
-            var_dump($sql);
             $result = $this->db->query($sql);
             if($result === false){
                 $this->error = $this->db->error();

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

@@ -61,6 +61,7 @@ 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);
 
         //获取客户目前的余额