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 => '支付宝二维码',