正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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; |
-
请 注册 或 登录 后发表评论