|
|
@@ -46,15 +46,15 @@ class CommonController extends BaseController
|
|
|
|
|
|
|
|
|
|
|
|
- /**
|
|
|
- * 按照权限获取游戏信息,通过游戏分组
|
|
|
- */
|
|
|
- public function getGameListOptions(Request $request): Response
|
|
|
- {
|
|
|
- $where = $request->get();
|
|
|
- $data = $this->gameGroupLogic->getGameListOptions($where);
|
|
|
- return $this->success($data);
|
|
|
- }
|
|
|
+ // /**
|
|
|
+ // * 按照权限获取游戏信息,通过游戏分组
|
|
|
+ // */
|
|
|
+ // public function getGameListOptions(Request $request): Response
|
|
|
+ // {
|
|
|
+ // $where = $request->get();
|
|
|
+ // $data = $this->gameGroupLogic->getGameListOptions($where);
|
|
|
+ // return $this->success($data);
|
|
|
+ // }
|
|
|
|
|
|
/**
|
|
|
* 获取主游戏options列表
|
|
|
@@ -89,39 +89,6 @@ class CommonController extends BaseController
|
|
|
return $this->success($data);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 获取游戏options列表(有权限)
|
|
|
- * @return Response
|
|
|
- */
|
|
|
- public function getTreeGameOptions(Request $request): Response
|
|
|
- {
|
|
|
- $where = $request->get();
|
|
|
- $data = $this->gameLogic->getGameListByPermission($where);
|
|
|
- return $this->success($data);
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 获取树形游戏options列表(无权限)
|
|
|
- * @return Response
|
|
|
- */
|
|
|
- public function getGameListTreeNoAuth(Request $request): Response
|
|
|
- {
|
|
|
- $where = $request->get();
|
|
|
- $data = $this->gameLogic->getGameListTreeNoAuth($where);
|
|
|
- return $this->success($data);
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 获取树形游戏options列表(有权限)
|
|
|
- * @return Response
|
|
|
- */
|
|
|
- public function getGameListTree(Request $request): Response
|
|
|
- {
|
|
|
- $where = $request->get();
|
|
|
- $data = $this->gameLogic->getGameListTree($where);
|
|
|
- return $this->success($data);
|
|
|
- }
|
|
|
-
|
|
|
|
|
|
/**
|
|
|
* 查询媒体列表Options
|