线下扫码付款直接待评价

This commit is contained in:
codeliu 2024-03-23 12:26:30 +08:00
parent 74cbfef69e
commit 8081b7aaad

View File

@ -1150,6 +1150,10 @@ class StoreOrderCreateRepository extends StoreOrderRepository
'refund_switch' => $merchantCart['order']['order_refund_switch'],
'sale_type' => $saleType,
];
if($ownRemark){
$_order['status'] =2;//线下购买直接是待评价
}
$allUseCoupon = array_merge($allUseCoupon, $merchantCart['order']['useCouponIds']);
$orderList[] = $_order;
$totalPostage = bcadd($totalPostage, $_order['total_postage'], 2);