浏览代码

feat:1、游戏帮派下拉框列表

zhangxianyu 1 月之前
父节点
当前提交
2b5a3fe575

+ 1 - 1
game-data/game-data-serve/src/main/java/com/zanxiang/game/data/serve/controller/RoleManageController.java

@@ -68,7 +68,7 @@ public class RoleManageController {
     }
 
     @ApiOperation(value = "游戏帮派列表")
-    @PreAuthorize(permissionKey = "roleManage:gameCountry:list")
+//    @PreAuthorize(permissionKey = "roleManage:gameCountry:list")
     @PostMapping("/gameCountryList")
     public ResultVO<List<Map>> gameCountryList(@RequestBody GameCountryParamDTO dto) {
         return ResultVO.ok(roleManageService.gameCountryList(dto));

+ 1 - 1
game-data/game-data-serve/src/main/java/com/zanxiang/game/data/serve/service/impl/RoleManageServiceImpl.java

@@ -1065,7 +1065,7 @@ public class RoleManageServiceImpl implements IRoleManageService {
 
     private String getCountryListSql(Criteria criteria) {
         return """
-                select country,server_id as serverId from dm_game_order.t_server_country
+                select country,server_id as serverId,parent_name as gameName,server_name as serverName,parent_game_id as gameId from dm_game_order.t_server_country
                 """ + criteria;
     }