From 39662b781ac4ccac36790390432b375f17087bf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Wed, 24 Mar 2021 16:41:48 +0800 Subject: [PATCH] Update UserRebateService.php --- app/data/service/UserRebateService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/data/service/UserRebateService.php b/app/data/service/UserRebateService.php index 734f38a60..b4f5c6f72 100644 --- a/app/data/service/UserRebateService.php +++ b/app/data/service/UserRebateService.php @@ -42,7 +42,7 @@ class UserRebateService extends Service */ public function confirm(string $orderNo): array { - $map = [['status', '>', 3], ['order_no', '=', $orderNo]]; + $map = [['status', '>=', 4], ['order_no', '=', $orderNo]]; $order = $this->app->db->name('ShopOrder')->where($map)->find(); if (empty($order)) return [0, '需处理的订单状态异常!'];