Browse Source

feat:添加debug日志

zhaohaipeng 11 tháng trước cách đây
mục cha
commit
6d1a4523df

+ 1 - 1
ad-engine-service/src/main/java/com/tzld/piaoquan/ad/engine/service/predict/model/threshold/RandomPredictModel.java

@@ -39,7 +39,7 @@ public class RandomPredictModel extends ThresholdPredictModel {
                 ).toString());
         threshold=threshold*correction;
         Map<String, Object> result = new HashMap<>();
-        result.put("ad_predict", score<threshold?2:1);
+        result.put("ad_predict", 2);
         result.put("score", score);
         result.put("threshold", threshold);
         result.put("model", "random");