|
@@ -77,20 +77,24 @@ class Model_itsxb extends Lin_Model {
|
|
|
'shipperPhone'=>'15939964739',//手机号
|
|
'shipperPhone'=>'15939964739',//手机号
|
|
|
|
|
|
|
|
];
|
|
];
|
|
|
- $address = $data['address'];
|
|
|
|
|
- if(!empty($data['address2'])){
|
|
|
|
|
- $address = $address." ".$data['address2'];
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // 3pe的傻狗 改规则了 也不说
|
|
|
|
|
+ // $address = $data['address'];
|
|
|
|
|
+ // if(!empty($data['address2'])){
|
|
|
|
|
+ // $address = $address." ".$data['address2'];
|
|
|
|
|
+ // }
|
|
|
$consignee = [
|
|
$consignee = [
|
|
|
'consigneeName'=>$data['name'],//姓名
|
|
'consigneeName'=>$data['name'],//姓名
|
|
|
'consigneeCountry'=>$data['lb'],
|
|
'consigneeCountry'=>$data['lb'],
|
|
|
'consigneeProvince'=>$data['province'],
|
|
'consigneeProvince'=>$data['province'],
|
|
|
'consigneeCity'=>$data['city'],
|
|
'consigneeCity'=>$data['city'],
|
|
|
- 'consigneeAddress'=>$address,
|
|
|
|
|
|
|
+ 'consigneeAddress'=>$data['address'],
|
|
|
'consigneePhone'=>$data['phone'],
|
|
'consigneePhone'=>$data['phone'],
|
|
|
'consigneePostcode'=>$data['zipcode'],
|
|
'consigneePostcode'=>$data['zipcode'],
|
|
|
'consigneeEmail'=>$data['email'],
|
|
'consigneeEmail'=>$data['email'],
|
|
|
];
|
|
];
|
|
|
|
|
+ if(!empty($data['address2'])){
|
|
|
|
|
+ $consignee['consigneeAddress2'] = $data['address2'];
|
|
|
|
|
+ }
|
|
|
$unit_weight = $data['zzl'] / $data['ts'];
|
|
$unit_weight = $data['zzl'] / $data['ts'];
|
|
|
$unit_weight = sprintf("%.2f", $unit_weight);
|
|
$unit_weight = sprintf("%.2f", $unit_weight);
|
|
|
$orderDeclareList = [
|
|
$orderDeclareList = [
|