From 7f87a599f26a178dc1ce51939218052e71eba299 Mon Sep 17 00:00:00 2001 From: ljl Date: Mon, 21 Aug 2023 18:05:33 +0800 Subject: [PATCH] yh --- app/Service/PaymentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/PaymentService.php b/app/Service/PaymentService.php index 0314c91..d081404 100644 --- a/app/Service/PaymentService.php +++ b/app/Service/PaymentService.php @@ -213,7 +213,7 @@ class PaymentService extends AbstractService } public function updateOrder($params) { - $order = Order::where('order_no', $params['order_no'])->where('status', 'APPLY_SUCCESS')->first(); + $order = Order::where('order_no', $params['order_no'])->whereIn('status', ['APPLY_SUCCESS', 'PROCESS'])->first(); if (empty($order)) { return null; }