ios 游戏排名返空处理2

This commit is contained in:
tianfeng 2026-03-22 23:19:03 +08:00
parent 953c09ac58
commit 62595f0fe2

View File

@ -104,9 +104,6 @@ public class AppConfigRestController extends BaseController {
@GetMapping("/list-game-config")
public List<GameListConfigCO> listGameConfig(GameListQryCmd cmd, @RequestParam(required = false) String roomId) {
cmd.setRoomSessionId(roomId);
if (cmd.checkIos()) {
return Collections.emptyList();
}
return appConfigService.listGameConfig(cmd);
}
@ -236,6 +233,9 @@ public class AppConfigRestController extends BaseController {
*/
@GetMapping("/game/ranking")
public PageResult<GameRankingCO> gameRanking(GameRankingQry qry) {
if (qry.checkIos()) {
return PageResult.newPageResult(0);
}
return gameRankingService.pageRanking(qry);
}