修改自营门店价格
This commit is contained in:
parent
92c0eac1fc
commit
d0a583a9bd
@ -106,7 +106,7 @@ class OrderLogic extends BaseLogic
|
||||
} else {
|
||||
$find = StoreProduct::where(['id' => $v['product_id']])->field($field)->find();
|
||||
if (!empty($user['user_ship'])) {
|
||||
$find = StoreProductGroupPrice::resetProductPrice($find, $user['user_ship']);
|
||||
$find = StoreProductGroupPrice::resetStoreProductPrice($find, $user['user_ship'], $params['store_id']);
|
||||
}
|
||||
if($find && $find['is_show']==0){
|
||||
throw new BusinessException('订单存在下架商品请更换后下单');
|
||||
|
Loading…
x
Reference in New Issue
Block a user