|
@@ -159,7 +159,7 @@ public class AgentServiceImpl extends ServiceImpl<AgentMapper, Agent> implements
|
|
|
|
|
|
private Tuple2<Long, Map<String, String>> getChannelByOpenId(Long gameId, String openId) {
|
|
|
try {
|
|
|
- Map<String, Object> callBackMap = tencentMiniGameBackRpc.getCallBackByOpenId(gameId, openId).getData();
|
|
|
+ Map<String, String> callBackMap = tencentMiniGameBackRpc.getCallBackByOpenId(gameId, openId).getData();
|
|
|
if (CollectionUtils.isEmpty(callBackMap) || !callBackMap.containsKey("agentKey")) {
|
|
|
return null;
|
|
|
}
|
|
@@ -169,7 +169,7 @@ public class AgentServiceImpl extends ServiceImpl<AgentMapper, Agent> implements
|
|
|
}
|
|
|
Map<String, String> channelMap = new HashMap<>(3);
|
|
|
callBackMap.put("weixinadinfo", callBackMap.get("adgroupId") + "." + callBackMap.get("impressionId"));
|
|
|
- callBackMap.put("gdt_vid", callBackMap.get("impressionId").toString());
|
|
|
+ callBackMap.put("gdt_vid", callBackMap.get("impressionId"));
|
|
|
callBackMap.put("callBack", JsonUtil.toString(callBackMap));
|
|
|
return Tuple2.with(agent.getId(), channelMap);
|
|
|
} catch (Exception e) {
|