作者 郭鑫
1 个管道 的构建 通过 耗费 0 秒

雇人修改

@@ -158,7 +158,7 @@ class AdminOrderController extends AdminBaseController @@ -158,7 +158,7 @@ class AdminOrderController extends AdminBaseController
158 curl_setopt($ch, CURLOPT_POST, 1);//post提交方式 158 curl_setopt($ch, CURLOPT_POST, 1);//post提交方式
159 curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($send)); 159 curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($send));
160 $res = curl_exec($ch);//运行curl 160 $res = curl_exec($ch);//运行curl
161 - if($res::errcode() == 0){ 161 + if($res->errcode == 0){
162 echo "<pre/>"; 162 echo "<pre/>";
163 print_r('1'); 163 print_r('1');
164 die; 164 die;