修改用户为vip1的时候的逻辑
This commit is contained in:
parent
e200cdcd67
commit
a9e418ba8d
@ -128,7 +128,11 @@ class OrderLogic extends BaseLogic
|
|||||||
self::$store_price = bcadd(self::$store_price, $cart_select[$k]['store_price'], 2);//门店零售价格
|
self::$store_price = bcadd(self::$store_price, $cart_select[$k]['store_price'], 2);//门店零售价格
|
||||||
// self::$profit = bcadd(self::$profit, $cart_select[$k]['profit'], 2);
|
// self::$profit = bcadd(self::$profit, $cart_select[$k]['profit'], 2);
|
||||||
}
|
}
|
||||||
|
if ($user && $user['user_ship'] == 1) {
|
||||||
|
$pay_price = self::$pay_price;
|
||||||
|
}else{
|
||||||
$pay_price =bcsub(self::$pay_price, self::$activity_price, 2); //减去活动优惠金额
|
$pay_price =bcsub(self::$pay_price, self::$activity_price, 2); //减去活动优惠金额
|
||||||
|
}
|
||||||
|
|
||||||
$vipPrice = 0;
|
$vipPrice = 0;
|
||||||
//成本价 收益
|
//成本价 收益
|
||||||
|
Loading…
x
Reference in New Issue
Block a user