From 999ea58cee26eb3889f890df6a7e073cd124cf5d Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Thu, 10 Oct 2024 17:29:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=90=9C=E7=B4=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E4=BB=A5=E4=BB=85=E7=A1=AE=E8=AE=A4=E4=B9=B0=E5=AE=B6?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E7=9A=84=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改了PurchaseProductOfferLists类的setSearch方法,将搜索条件从空数组更改为只包含'buyer_confirm'字段。这确保了只有买家已确认的订单会在列表中显示。 --- .../lists/purchase_product_offer/PurchaseProductOfferLists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/lists/purchase_product_offer/PurchaseProductOfferLists.php b/app/api/lists/purchase_product_offer/PurchaseProductOfferLists.php index 1edf7275f..ecaa78410 100644 --- a/app/api/lists/purchase_product_offer/PurchaseProductOfferLists.php +++ b/app/api/lists/purchase_product_offer/PurchaseProductOfferLists.php @@ -27,7 +27,7 @@ class PurchaseProductOfferLists extends BaseApiDataLists implements ListsSearchI public function setSearch(): array { return [ - '=' => [], + '=' => ['buyer_confirm'], ]; }