修改用户类型收银展示的值
This commit is contained in:
parent
5b01a6ab49
commit
4112b6ffe3
@ -112,8 +112,10 @@ class StoreOrderLogic extends BaseLogic
|
|||||||
}
|
}
|
||||||
if ($user && $user['user_ship'] == 1) {
|
if ($user && $user['user_ship'] == 1) {
|
||||||
$pay_price = self::$pay_price;
|
$pay_price = self::$pay_price;
|
||||||
|
$activity_string = '';
|
||||||
}else{
|
}else{
|
||||||
$pay_price =bcsub(self::$pay_price, self::$activity_price, 2); //减去活动优惠金额
|
$pay_price =bcsub(self::$pay_price, self::$activity_price, 2); //减去活动优惠金额
|
||||||
|
$activity_string = '减免';
|
||||||
}
|
}
|
||||||
|
|
||||||
$vipPrice = 0;
|
$vipPrice = 0;
|
||||||
@ -132,7 +134,7 @@ class StoreOrderLogic extends BaseLogic
|
|||||||
'cart_id' => implode(',', $cartId),
|
'cart_id' => implode(',', $cartId),
|
||||||
'store_id' => $params['store_id'] ?? 0,
|
'store_id' => $params['store_id'] ?? 0,
|
||||||
'shipping_type' =>3,//配送方式 1=快递 ,2=门店自提
|
'shipping_type' =>3,//配送方式 1=快递 ,2=门店自提
|
||||||
'activity' =>'减免',
|
'activity' =>$activity_string,
|
||||||
'activity_price' =>self::$activity_price,//活动优惠价
|
'activity_price' =>self::$activity_price,//活动优惠价
|
||||||
'activities' => self::$activity_price>0?1:0,
|
'activities' => self::$activity_price>0?1:0,
|
||||||
'default_delivery'=>1,
|
'default_delivery'=>1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user