refactor(game): 优化游戏详情获取逻辑

- 添加对游戏 betting 明细的查询,若存在则返回明细中的 betContent 作为游戏详情 URL
- 优化缓
main-p
shi 2025-03-14 15:17:26 +08:00
parent 18a8f544bb
commit 0c311139dd
1 changed files with 1 additions and 1 deletions

View File

@ -650,7 +650,7 @@ public class GamesPGServiceImpl implements IGamesService {
}
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)) {
return null;
}