From 8b3778e83e4b4fe203331e380976e13745875ab4 Mon Sep 17 00:00:00 2001 From: mzl Date: Thu, 13 Nov 2025 10:06:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/UserService.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/app/common/service/UserService.php b/app/common/service/UserService.php index 6ea31bd..5bd60cf 100644 --- a/app/common/service/UserService.php +++ b/app/common/service/UserService.php @@ -159,14 +159,10 @@ class UserService /** 分页列表 */ public function serviceTeam(Request $request) { - if (method_exists($this, 'complexQuery')) { - $result = $this->complexQuery($request->get()); - } else { - $config = $this->buildQueryConfig($request, 'team'); - $limit = (int)$request->get('size', 15); - $page = (int)$request->get('current', 1); - $result = $this->logicList($config, $limit, $page); - } + $config = $this->buildQueryConfig($request, 'team'); + $limit = (int)$request->get('size', 15); + $page = (int)$request->get('current', 1); + $result = $this->logicList($config, $limit, $page); foreach ($result as &$data){ $data['customer_count'] = Customer::where('user_id', $data['id'])->count();