|
@@ -490,6 +490,21 @@ function __construct(){
|
|
|
//快递服务商
|
|
//快递服务商
|
|
|
$server_info = $info['extra_text'];
|
|
$server_info = $info['extra_text'];
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ if($info['express'] == 85){
|
|
|
|
|
+ $ttsp_xz_name = $server_info['shipping_services'][$info['ttsp_xz']]['name'];
|
|
|
|
|
+ if(strpos($ttsp_xz_name,'USPS')!== false){
|
|
|
|
|
+ return ['code'=>10000,'msg'=>'该快递信息异常,请联系技术-USPS'];
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ if($info['express'] == 87){
|
|
|
|
|
+ $ttsp_xz_name = $server_info['shipping_services'][$info['ttsp_xz']]['name'];
|
|
|
|
|
+ if(strpos($ttsp_xz_name,'FedEx')!== false){
|
|
|
|
|
+ return ['code'=>10000,'msg'=>'该快递信息异常,请联系技术-FedEx'];
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
$post = [
|
|
$post = [
|
|
|
'order_id'=>$server_info['order_id'],
|
|
'order_id'=>$server_info['order_id'],
|