From 48a66a5328d43504ef01cd9a221f9e42b9f6ebe8 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Sat, 15 Jun 2024 11:00:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(UserLists):=20=E6=B7=BB=E5=8A=A0=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E5=8A=9F=E8=83=BD=E5=AE=9E=E7=8E=B0ListsSearchInterfa?= =?UTF-8?q?ce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/store/lists/user/UserLists.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/store/lists/user/UserLists.php b/app/store/lists/user/UserLists.php index 1d4563950..35cc57608 100644 --- a/app/store/lists/user/UserLists.php +++ b/app/store/lists/user/UserLists.php @@ -7,8 +7,9 @@ namespace app\store\lists\user; use app\store\lists\BaseAdminDataLists; use app\common\model\user\User; use app\common\model\user\UserShip; +use app\common\lists\ListsSearchInterface; -class UserLists extends BaseAdminDataLists +class UserLists extends BaseAdminDataLists implements ListsSearchInterface { /** * @notes 搜索条件 @@ -19,7 +20,8 @@ class UserLists extends BaseAdminDataLists public function setSearch(): array { return [ - '=' => ['mobile'], + '=' => ['id'], + '%like%' => ['mobile'], ]; }