|
@@ -5,7 +5,6 @@ import com.zanxiang.common.domain.ResultVO;
|
|
|
import com.zanxiang.erp.security.annotation.PreAuthorize;
|
|
|
import com.zanxiang.manage.domain.params.GameCategoryAddUpdateParam;
|
|
|
import com.zanxiang.manage.domain.params.GameCategoryListParam;
|
|
|
-import com.zanxiang.manage.domain.vo.GameCategoryParentVO;
|
|
|
import com.zanxiang.manage.domain.vo.GameCategoryVO;
|
|
|
import com.zanxiang.manage.service.GameCategoryService;
|
|
|
import io.swagger.annotations.Api;
|
|
@@ -17,8 +16,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
/**
|
|
|
* @author : lingfeng
|
|
|
* @time : 2022-06-23
|
|
@@ -33,14 +30,6 @@ public class GameCategoryController {
|
|
|
@Autowired
|
|
|
private GameCategoryService gameCategoryService;
|
|
|
|
|
|
- @ApiOperation(value = "查询所游戏分类或父标签列表")
|
|
|
- @GetMapping(value = "/parent/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:gameCategory:parentList")
|
|
|
- @ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = GameCategoryParentVO.class, responseContainer = "list")})
|
|
|
- public ResultVO<List<GameCategoryParentVO>> getGameCategoryParent(@RequestParam Integer type) {
|
|
|
- return ResultVO.ok(gameCategoryService.getGameCategoryParent(type));
|
|
|
- }
|
|
|
-
|
|
|
@ApiOperation(value = "查询游戏标签列表")
|
|
|
@PostMapping(value = "/list")
|
|
|
@PreAuthorize(permissionKey = "sdk:gameCategory:list")
|