更新小组角色

This commit is contained in:
yaooo 2023-11-24 14:25:31 +08:00
parent d430da3d1c
commit 66b1001d14
1 changed files with 11 additions and 0 deletions

View File

@ -29,6 +29,17 @@ class UserController extends BaseAdminController
return json($result); return json($result);
} }
// 供销系统用户角色
public function roleLists(): Json
{
$params=$this->request->get(['page_no','page_size']);
$result = curl_post(env('project.worker_domain').'/middleapi/user/roleLists',$params,$this->reqHeader);
if($result['code'] == 0){
return $this->fail($result['msg']);
}
return json($result);
}
// 获取用户详情 // 获取用户详情
public function detail(): Json public function detail(): Json
{ {