|
|
@@ -355,7 +355,13 @@ function __construct(){
|
|
|
$post['skje'] = $post['shouldmoney'];//收款金额
|
|
|
$post['ismoney'] = $data['payment']['currency'].$post['shouldmoney'];//支付币种金额
|
|
|
$yga = $post['shouldmoney'];//金额
|
|
|
- $post['cf'] = ($data['shipping_type']=='SELLER')?0:1;//是否仓发TIKTOK平台仓发 SELLER商家发,ERP中1平台仓发,0商家发
|
|
|
+ //现在用Fulfillment type 区分仓发和商家发
|
|
|
+ if(strpos($data['fulfillment_type'],'SELLER')!== false){
|
|
|
+ $post['cf'] = 0;
|
|
|
+ }else{
|
|
|
+ $post['cf'] = 1;
|
|
|
+ }
|
|
|
+ //$post['cf'] = ($data['shipping_type']=='SELLER')?0:1;//是否仓发TIKTOK平台仓发 SELLER商家发,ERP中1平台仓发,0商家发
|
|
|
//但是还有 HOME_DELIVERY 如果店铺是42 英国uk店 直接分到许昌仓
|
|
|
if(in_array($post['shop'],[35,38,39,40,41,42,44,46,47,49,58])){
|
|
|
$post['cf'] = 0;
|