|
|
@@ -31,7 +31,10 @@ public class PredictStrategyBy817 extends BasicPredict {
|
|
|
String userLayer = ctx.getUserLayer();
|
|
|
String shareType = ctx.getShareType();
|
|
|
if (CollectionUtils.isEmpty(configItems) || StringUtils.isAnyBlank(rootSessionId, userLayer, shareType)) {
|
|
|
- return Collections.emptyMap();
|
|
|
+ Map<String, Object> returnMap = new HashMap<>();
|
|
|
+ returnMap.putAll(rtnNoAdPredict(ctx));
|
|
|
+ returnMap.put("msg","no_config_error");
|
|
|
+ return returnMap;
|
|
|
}
|
|
|
|
|
|
double score = this.calcScoreByMid(ctx.getMid());
|
|
|
@@ -91,7 +94,10 @@ public class PredictStrategyBy817 extends BasicPredict {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- return Collections.emptyMap();
|
|
|
+ Map<String, Object> returnMap = new HashMap<>();
|
|
|
+ returnMap.putAll(rtnNoAdPredict(ctx));
|
|
|
+ returnMap.put("msg","no_config_error");
|
|
|
+ return returnMap;
|
|
|
}
|
|
|
|
|
|
}
|