From dcfc60ae56bcee15558440d41b5e8f0f42530ae0 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Thu, 16 Nov 2023 11:11:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B4=9F=E8=B4=A3=E4=BA=BA?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/adminapi/controller/user/UserController.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/adminapi/controller/user/UserController.php b/app/adminapi/controller/user/UserController.php index 441ddfb5..99229d0a 100644 --- a/app/adminapi/controller/user/UserController.php +++ b/app/adminapi/controller/user/UserController.php @@ -19,6 +19,16 @@ class UserController extends BaseAdminController return $this->dataLists(new UserLists()); } + public function taskLists(): Json + { + $params=$this->request->get(['page_no','page_size','company_id', 'account', 'mobile']); + $result = curl_post(env('project.worker_domain').'/middleapi/user/lists',$params,$this->reqHeader); + if($result['code'] == 0){ + return $this->fail($result['msg']); + } + return json($result); + } + // 获取用户详情 public function detail(): Json {