更新小组角色
This commit is contained in:
parent
d430da3d1c
commit
66b1001d14
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue