yingzi 2 سال پیش
والد
کامیت
5a623f40f4
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Model/Cashier/MCashier.Class.php

+ 2 - 2
Model/Cashier/MCashier.Class.php

@@ -748,9 +748,9 @@ class MCashier
                     c.districtCode,c.status,c.auditFailReason,c.enableStatus,c.type,c.shopId,c.remark,c.money,c.totalPayMoney,c.createTime';
         $sql = 'SELECT '.$fields.' FROM qianniao_user_center AS u 
                 LEFT JOIN qianniao_customer_' .$this->onlineEnterpriseId .' AS c 
-                ON u.id = c.userCenterId AND u.mobile = ' . $mobile . ' LIMIT 1';
+                ON u.id = c.userCenterId 
+                WHERE u.mobile = ' . $mobile . ' LIMIT 1';
         $customerInfo = $objDCustomer->query($sql);
-        var_dump($customerInfo);
         if ($customerInfo === false) {
             return ResultWrapper::fail($objDCustomer->error(), ErrorCode::$dberror);
         }