...
|
...
|
@@ -158,7 +158,11 @@ class AdminOrderController extends AdminBaseController |
|
|
curl_setopt($ch, CURLOPT_POST, 1);//post提交方式
|
|
|
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($send));
|
|
|
$res = curl_exec($ch);//运行curl
|
|
|
if($res->errcode == 0){
|
|
|
$obj = new $res;
|
|
|
echo "<pre/>";
|
|
|
print_r($obj->errcode);
|
|
|
die;
|
|
|
if($obj->errcode == 0){
|
|
|
echo "<pre/>";
|
|
|
print_r('1');
|
|
|
die;
|
...
|
...
|
|