|
@@ -163,7 +163,11 @@ public function get_data($data){
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if(empty($waybillnumber)){
|
|
if(empty($waybillnumber)){
|
|
|
- $g = array('x'=>'0','Description'=>"获取运单为空,请联系技术检查",'cs'=>$jsonBody);
|
|
|
|
|
|
|
+ $error_msg = "";
|
|
|
|
|
+ if(!empty($res['data']['data'][0]['msg'])){
|
|
|
|
|
+ $error_msg = $res['data']['data'][0]['msg'];
|
|
|
|
|
+ }
|
|
|
|
|
+ $g = array('x'=>'0','Description'=>"获取运单为空,请联系技术检查".$error_msg,'cs'=>$jsonBody);
|
|
|
return $g;
|
|
return $g;
|
|
|
}
|
|
}
|
|
|
// var_dump($res['data']);
|
|
// var_dump($res['data']);
|