feat(game): 添加 KM 游戏平台支持
- 新增 KM游戏平台的接口实现类 GamesKMServiceImpl - 添加 KM 游戏平台的相关配置和常量- 实现 KM 游戏平台的登录、获取游戏列表、下注记录等功能 - 增加 KM 游戏平台的错误处理和日志记录prod
parent
8ffe94204c
commit
8d1dec4f32
|
@ -166,8 +166,8 @@ public class GamesKMServiceImpl implements IGamesService {
|
|||
3 黄金-高级额度
|
||||
4 白金-贵宾额度*/
|
||||
params.put("betlimitid", 4);
|
||||
//TODO 后面去掉
|
||||
params.put("istestplayer", Boolean.TRUE);
|
||||
// true测试 false正式
|
||||
params.put("istestplayer", Boolean.FALSE);
|
||||
params.put("platformtype", ObjectUtils.isEmpty(createMemberRequestDTO.getPlatformType()) ? 1 : createMemberRequestDTO.getPlatformType());
|
||||
|
||||
Map<String, Object> headerMap = this.getKey(createMemberRequestDTO);
|
||||
|
@ -502,7 +502,8 @@ public class GamesKMServiceImpl implements IGamesService {
|
|||
Map<String, Object> params = new LinkedHashMap<>();
|
||||
params.put("startdate", startTime);
|
||||
params.put("enddate", endTime);
|
||||
params.put("includetestplayers", Boolean.TRUE);
|
||||
// true 包含测试 false正式
|
||||
params.put("includetestplayers", Boolean.FALSE);
|
||||
params.put("issettled", Boolean.TRUE);
|
||||
|
||||
KMBetRecordResponse betRecordByTime = KMClient.getBetRecordByTime(JsonUtil.mapToQueryString(params), key);
|
||||
|
|
Loading…
Reference in New Issue