更新
This commit is contained in:
parent
4c08eb749c
commit
63edd3a80c
@ -231,7 +231,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository
|
||||
}
|
||||
$svip_discount = 0;
|
||||
$realPrice = $this->cartByPrice($cart);
|
||||
if (in_array($source,[9,10,11,12])) {
|
||||
if (in_array($source,[9,10,11,12,13])) {
|
||||
if($realPrice==0){
|
||||
throw new ValidateException('价格必须大于0');
|
||||
}
|
||||
|
@ -568,7 +568,7 @@ class StoreOrderRepository extends BaseRepository
|
||||
// } else {
|
||||
// return $cart['productAttr']['price'];
|
||||
// }
|
||||
if (in_array($cart['source'],[9,10,11,12])) {
|
||||
if (in_array($cart['source'],[9,10,11,12,13])) {
|
||||
return $cart['productAttr']['procure_price'];
|
||||
} else {
|
||||
return $cart['productAttr']['price'];
|
||||
|
@ -506,7 +506,7 @@ class StoreOtherOrderRepository extends BaseRepository
|
||||
return $cart['activeSku']['active_price'];
|
||||
// 更新调货价格
|
||||
} else if ($cart['product_type'] == '98') {
|
||||
if (in_array($cart['source'],[9,10,11,12])) {
|
||||
if (in_array($cart['source'],[9,10,11,12,13])) {
|
||||
return $cart['productAttr']['procure_price'];
|
||||
} else {
|
||||
return $cart['productAttr']['price'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user