|
@@ -23,6 +23,9 @@ public class PredictStrategyBy673 extends ThresholdPredictStrategy {
|
|
|
try {
|
|
|
JSONObject json = ctx.getExpConfigMap().getOrDefault("673", new JSONObject());
|
|
|
JSONObject configJson = json.getJSONObject(String.format("%s:%s", ctx.getUserExternalSource(), ctx.getShareLayer()));
|
|
|
+ if (MapUtils.isEmpty(configJson)) {
|
|
|
+ return Collections.emptyMap();
|
|
|
+ }
|
|
|
return configJson.toJavaObject(new TypeReference<Map<String, Double>>() {
|
|
|
});
|
|
|
} catch (Exception e) {
|