From 52b74b73edd95211bc721881d5e8dcff376c4904 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 4 Jun 2024 17:22:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(PayEnum):=20=E6=9B=B4=E6=96=B0=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E6=96=B9=E5=BC=8F=E6=9E=9A=E4=B8=BE=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/lists/store_product/StoreProductLists.php | 3 ++- app/common/enum/PayEnum.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/admin/lists/store_product/StoreProductLists.php b/app/admin/lists/store_product/StoreProductLists.php index f7493f36f..e8f58ed18 100644 --- a/app/admin/lists/store_product/StoreProductLists.php +++ b/app/admin/lists/store_product/StoreProductLists.php @@ -28,7 +28,8 @@ class StoreProductLists extends BaseAdminDataLists implements ListsSearchInterfa public function setSearch(): array { return [ - '=' => ['store_name', 'cate_id'], + '=' => ['cate_id'], + '%like%' => ['store_name'], ]; } diff --git a/app/common/enum/PayEnum.php b/app/common/enum/PayEnum.php index ad9523f06..f4e587c26 100644 --- a/app/common/enum/PayEnum.php +++ b/app/common/enum/PayEnum.php @@ -116,8 +116,8 @@ class PayEnum self::ALIPAY_MINI => '支付宝小程序', self::ALIPAY_APP => '支付宝APP', self::GOODS_FIRST_PAYMENT_LATER => '货到付款', - self::CORPORATE_TRANSFER => '企业转账', - self::CASH_PAY => '现金支付', + self::CORPORATE_TRANSFER => '企业转账', + self::CASH_PAY => '现金支付', self::WECHAT_PAY_QRCODE => '微信二维码', self::WECHAT_PAY_BARCODE => '微信条码', self::ALIPAY_QRCODE => '支付宝二维码',