获取订单核销码兼容

This commit is contained in:
monanxiao 2023-03-17 11:42:11 +08:00
parent 0afc6f5b87
commit 4276a74af2

View File

@ -1643,10 +1643,10 @@ class StoreOrderRepository extends BaseRepository
foreach ($list as $order) { foreach ($list as $order) {
if ($order->order_type == 1) { // if ($order->order_type == 1) {
$order->append(['take', 'refund_status']); // $order->append(['take', 'refund_status']);
} // }
$order->append(['take', 'refund_status']);
if ($order->activity_type == 2) { if ($order->activity_type == 2) {
if ($order->presellOrder) { if ($order->presellOrder) {
$order->presellOrder->append(['activeStatus']); $order->presellOrder->append(['activeStatus']);