注释校验
This commit is contained in:
parent
d5255e38bb
commit
d4db924410
@ -111,7 +111,8 @@ class StoreOrderLogic 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_type = isset($params['pay_type'])?$params['pay_type']:0;
|
||||||
|
if ($user && $user['user_ship'] == 1 && $pay_type !=17) {
|
||||||
$pay_price = self::$pay_price;
|
$pay_price = self::$pay_price;
|
||||||
$activity_string = '';
|
$activity_string = '';
|
||||||
}else{
|
}else{
|
||||||
@ -119,9 +120,9 @@ class StoreOrderLogic extends BaseLogic
|
|||||||
$activity_string = '减免';
|
$activity_string = '减免';
|
||||||
}
|
}
|
||||||
|
|
||||||
if($pay_price < 500){
|
// if($pay_price < 500){
|
||||||
throw new \think\Exception('金额低于500');
|
// throw new \think\Exception('金额低于500');
|
||||||
}
|
// }
|
||||||
|
|
||||||
$vipPrice = 0;
|
$vipPrice = 0;
|
||||||
//成本价 收益
|
//成本价 收益
|
||||||
|
Loading…
x
Reference in New Issue
Block a user