Selaa lähdekoodia

虚警抑制增加参数

Gaokun Wang 7 kuukautta sitten
vanhempi
sitoutus
2c1feed513

+ 1 - 0
als-modules/agile-assurance/src/main/java/org/eco/als/service/impl/AlgorithmService.java

@@ -176,6 +176,7 @@ public class AlgorithmService implements IAlgorithmService {
         // 参数
         Map<String, Object> map = StrUtil.isBlank(algorithmBo.getParam())? new HashMap<>() : new HashMap<>(JSONUtil.parseObj(algorithmBo.getParam()));
         map.put("url", sysOssVo.getUrl());
+        map.put("faultCode", warning.getCode());
         // 请求
         ModelHttpVo httpVo = sendHttp(modelVo, map);
         if (httpVo != null && httpVo.getStatus() == 200) {