Merge pull request '修改自营门店价格' (#478) from dev into main
Reviewed-on: #478
This commit is contained in:
commit
ea7087c234
@ -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