新增接口弹窗
This commit is contained in:
@@ -156,9 +156,14 @@ class UserController extends AbstractController
|
||||
/**
|
||||
* 获取弹窗数据
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function getUserPopup(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(UserRequest::class);
|
||||
$request->scene('getUserPopup')->validateResolved();
|
||||
|
||||
$UserService = new UserService();
|
||||
$data = $UserService->getUserPopup();
|
||||
return $this->response->json($data);
|
||||
|
||||
Reference in New Issue
Block a user