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 {