yingzi 2 년 전
부모
커밋
364a7d4afc
1개의 변경된 파일21개의 추가작업 그리고 20개의 파일을 삭제
  1. 21 20
      Controller/Cashier/Cashier.Class.php

+ 21 - 20
Controller/Cashier/Cashier.Class.php

@@ -115,26 +115,27 @@ class Cashier extends BaseController
      */
     public function getCommonCustomerInfo()
     {
-        if(empty($this->onlineEnterpriseId)){
-            parent::sendOutput('企业信息不存在', ErrorCode::$paramError);
-        }
-        $params['enterpriseId'] = $this->onlineEnterpriseId;
-        
-        $result = $this->objMEnterprise->getEnterpriseInfo($params);
-        if (!$result->isSuccess()) {
-            parent::sendOutput($result->getData(), $result->getErrorCode());
-        }
-        $data = $result->getData();
-        if(empty($data )){
-            parent::sendOutput('企业信息不存在', ErrorCode::$paramError);
-        }
-//        $mobile = $data["commonCashierCustomerMobile"];
-        $mobile = "13600000001";
-        $result = $this->objMCashier->searchCustomerDetails($mobile);
-        if (!$result->isSuccess()) {
-            parent::sendOutput($result->getData(), $result->getErrorCode());
-        }
-        parent::sendOutput($result->getData());
+        var_dump("xxxaa");
+//        if(empty($this->onlineEnterpriseId)){
+//            parent::sendOutput('企业信息不存在', ErrorCode::$paramError);
+//        }
+//        $params['enterpriseId'] = $this->onlineEnterpriseId;
+//        
+//        $result = $this->objMEnterprise->getEnterpriseInfo($params);
+//        if (!$result->isSuccess()) {
+//            parent::sendOutput($result->getData(), $result->getErrorCode());
+//        }
+//        $data = $result->getData();
+//        if(empty($data )){
+//            parent::sendOutput('企业信息不存在', ErrorCode::$paramError);
+//        }
+////        $mobile = $data["commonCashierCustomerMobile"];
+//        $mobile = "13600000001";
+//        $result = $this->objMCashier->searchCustomerDetails($mobile);
+//        if (!$result->isSuccess()) {
+//            parent::sendOutput($result->getData(), $result->getErrorCode());
+//        }
+//        parent::sendOutput($result->getData());
     }
 
     /**