ios 游戏排名返空处理2
This commit is contained in:
parent
953c09ac58
commit
62595f0fe2
@ -104,9 +104,6 @@ public class AppConfigRestController extends BaseController {
|
|||||||
@GetMapping("/list-game-config")
|
@GetMapping("/list-game-config")
|
||||||
public List<GameListConfigCO> listGameConfig(GameListQryCmd cmd, @RequestParam(required = false) String roomId) {
|
public List<GameListConfigCO> listGameConfig(GameListQryCmd cmd, @RequestParam(required = false) String roomId) {
|
||||||
cmd.setRoomSessionId(roomId);
|
cmd.setRoomSessionId(roomId);
|
||||||
if (cmd.checkIos()) {
|
|
||||||
return Collections.emptyList();
|
|
||||||
}
|
|
||||||
return appConfigService.listGameConfig(cmd);
|
return appConfigService.listGameConfig(cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -236,6 +233,9 @@ public class AppConfigRestController extends BaseController {
|
|||||||
*/
|
*/
|
||||||
@GetMapping("/game/ranking")
|
@GetMapping("/game/ranking")
|
||||||
public PageResult<GameRankingCO> gameRanking(GameRankingQry qry) {
|
public PageResult<GameRankingCO> gameRanking(GameRankingQry qry) {
|
||||||
|
if (qry.checkIos()) {
|
||||||
|
return PageResult.newPageResult(0);
|
||||||
|
}
|
||||||
return gameRankingService.pageRanking(qry);
|
return gameRankingService.pageRanking(qry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user