|
@@ -119,9 +119,9 @@ public function get_data($data){
|
|
|
"isliquids"=>0,
|
|
"isliquids"=>0,
|
|
|
"ispowders"=>0,
|
|
"ispowders"=>0,
|
|
|
'hscode'=>$data['sbbm'],
|
|
'hscode'=>$data['sbbm'],
|
|
|
- 'merchantproductid'=>$data['orderinfo'],
|
|
|
|
|
- 'manufacturerproductid'=>$data['orderinfo'],
|
|
|
|
|
- 'intlstdproductid'=>'NA',
|
|
|
|
|
|
|
+ // 'merchantproductid'=>$data['orderinfo'],
|
|
|
|
|
+ // 'manufacturerproductid'=>$data['orderinfo'],
|
|
|
|
|
+ // 'intlstdproductid'=>'NA',
|
|
|
]
|
|
]
|
|
|
]
|
|
]
|
|
|
|
|
|
|
@@ -137,6 +137,9 @@ public function get_data($data){
|
|
|
if($data['printcode'] == 'ZXDPD_BTC'){
|
|
if($data['printcode'] == 'ZXDPD_BTC'){
|
|
|
$post['datas'][0]["order"]['declaretypepkid'] = '不需要报关';
|
|
$post['datas'][0]["order"]['declaretypepkid'] = '不需要报关';
|
|
|
$post['datas'][0]["order"]['sendetaxnumber'] = 'IM5280002556';
|
|
$post['datas'][0]["order"]['sendetaxnumber'] = 'IM5280002556';
|
|
|
|
|
+ $post['datas'][0]["items"][0]['merchantproductid'] = $data['orderinfo'];
|
|
|
|
|
+ $post['datas'][0]["items"][0]['manufacturerproductid'] = $data['orderinfo'];
|
|
|
|
|
+ $post['datas'][0]["items"][0]['intlstdproductid'] = 'NA';
|
|
|
}
|
|
}
|
|
|
$jsonBody = json_encode($post);
|
|
$jsonBody = json_encode($post);
|
|
|
//$start_time = time();
|
|
//$start_time = time();
|