作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

海报

@@ -159,7 +159,7 @@ class BirdController extends HomeBaseController @@ -159,7 +159,7 @@ class BirdController extends HomeBaseController
159 $jsonResult = $this->getOrderTracesByJson($indent['order_number'],$indent['logistic_code']); 159 $jsonResult = $this->getOrderTracesByJson($indent['order_number'],$indent['logistic_code']);
160 $result = json_decode($jsonResult,true); 160 $result = json_decode($jsonResult,true);
161 if($result['Success'] == true){ 161 if($result['Success'] == true){
162 - return ['code'=>20000,'msg'=>'SUCCESS','data'=>['state'=>$result['State'],'traces'=>$result['Traces']]];//订单轨迹 162 + return dump(['code'=>20000,'msg'=>'SUCCESS','data'=>['state'=>$result['State'],'traces'=>$result['Traces']]]);//订单轨迹
163 }else{ 163 }else{
164 return ['code'=>40000,'msg'=>$result['Reason']]; 164 return ['code'=>40000,'msg'=>$result['Reason']];
165 } 165 }