ayHaru 4 سال پیش
والد
کامیت
836f889ece
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      application/index/controller/Index.php

+ 4 - 4
application/index/controller/Index.php

@@ -24,7 +24,7 @@ class Index
     //检查订单号码
     public function CheckOrder(){
         $order_sn = input('param.order_sn');
-        $result = curl_get_https($this->mAdminUrl . '/CheckOrder' ,['order_sn' => $order_sn]);
+        $result = http_get($this->mAdminUrl . '/CheckOrder' ,['order_sn' => $order_sn]);
         if($result == false){
             Log::record('CheckOrder Error:'.$result);
             json_return(5001,[],'网络错误');
@@ -39,7 +39,7 @@ class Index
     }
     public function CheckFcode(){
         $code = input('param.code');
-        $result = curl_get_https($this->mAdminUrl . '/CheckFcode' ,['code' => $code]);
+        $result = http_get($this->mAdminUrl . '/CheckFcode' ,['code' => $code]);
         if($result == false){
             Log::record('CheckFcode Error:'.$result);
             json_return(5001,[],'网络错误');
@@ -57,7 +57,7 @@ class Index
         $order_sn = input('param.order_sn');
         $trunk = input('param.trunk');
         $cabinet = input('param.cabinet');
-        $result = curl_get_https($this->mAdminUrl . '/RecordStore' ,['order_sn' => $order_sn , 'trunk' => $trunk , 'cabinet' => $cabinet]);
+        $result = http_get($this->mAdminUrl . '/RecordStore' ,['order_sn' => $order_sn , 'trunk' => $trunk , 'cabinet' => $cabinet]);
         if($result == false){
             Log::record('RecordStore Error:'.$result);
             json_return(5001,[],'网络错误');
@@ -73,7 +73,7 @@ class Index
     public function RecordFetch(){
         $trunk = input('param.trunk');
         $cabinet = input('param.cabinet');
-        $result = curl_get_https($this->mAdminUrl . '/RecordFetch' ,['trunk' => $trunk , 'cabinet' => $cabinet]);
+        $result = http_get($this->mAdminUrl . '/RecordFetch' ,['trunk' => $trunk , 'cabinet' => $cabinet]);
         if($result == false){
             Log::record('RecordFetch Error:'.$result);
             json_return(5001,[],'网络错误');