Merge pull request 'feat(order): 调整订单逻辑优先级' (#48) from dev into main
Reviewed-on: #48
This commit is contained in:
commit
fcdc6572f2
@ -113,7 +113,7 @@ class OrderLogic extends BaseLogic
|
||||
} else {
|
||||
$price = $find['price'];
|
||||
}
|
||||
if($off_activity==0 && $user&&$user['user_ship']==5 && $find['top_cate_id']==15189){
|
||||
if($off_activity==0 && $find['top_cate_id']==15189 && $user&&$user['user_ship']==5){
|
||||
$price=$find['cost'];
|
||||
}
|
||||
$cart_select[$k]['price'] = $price;
|
||||
@ -588,7 +588,6 @@ class OrderLogic extends BaseLogic
|
||||
'staff_id' => $params['staff_id'] ?? 0,
|
||||
'update_time' => time(),
|
||||
], ['oid' => $order['id']]);
|
||||
PayNotifyLogic::descStock($order['id']);
|
||||
$financeFlow = new StoreFinanceFlow();
|
||||
$financeFlowLogic = new StoreFinanceFlowLogic();
|
||||
$select_1 = $financeFlow->where(['order_id' => $order['id'], 'financial_pm' => 1, 'financial_type' => ['in' => 14, 15, 16]])->select();
|
||||
|
Loading…
x
Reference in New Issue
Block a user