refactor(game): 优化游戏详情获取逻辑
- 添加对游戏 betting 明细的查询,若存在则返回明细中的 betContent 作为游戏详情 URL - 优化缓main-p
parent
18a8f544bb
commit
0c311139dd
|
@ -650,7 +650,7 @@ public class GamesPGServiceImpl implements IGamesService {
|
||||||
}
|
}
|
||||||
|
|
||||||
String platform = ngPlatforms.getPlatform();
|
String platform = ngPlatforms.getPlatform();
|
||||||
List<Game> games = gameService.selectGameDTOList(GameDTO.builder().platformCode(platform).build());
|
List<Game> games = gameService.selectGameDTOList(GameDTO.builder().gameName(resultBean.getGameName()).platformCode(platform).build());
|
||||||
if (CollectionUtils.isEmpty(games)) {
|
if (CollectionUtils.isEmpty(games)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue