gameMainLogic = new GameMainLogic(); $this->gameLogic = new GameLogic(); } /** * 获取主游戏options列表 * @return Response */ public function getMainGameOptions(Request $request): Response { $data = $this->gameMainLogic->getMainGameOptions(); return $this->success($data); } /** * 获取子游戏options列表 * @return Response */ public function getGameOptions(Request $request): Response { $data = $this->gameLogic->getGameOptions(); return $this->success($data); } /** * 获取树形游戏options列表 * @return Response */ public function getTreeGameOptions(Request $request): Response { $data = $this->gameLogic->getGameListByPermission(); return $this->success($data); } }