Przeglądaj źródła

心跳接口修改

gao.qiang 9 miesięcy temu
rodzic
commit
9711946906

+ 0 - 4
vehicle-sdk/src/main/java/com/ozs/controller/upload/GeoHazardMonitorTokenController.java

@@ -246,10 +246,6 @@ public class GeoHazardMonitorTokenController {
             }
             String s = SM4Utils.decryptData_ECB(parameterVo.getParameter(), key);
             ReqMsgAlarmVo reqMsgAlarmVo = JSON.parseObject(s, ReqMsgAlarmVo.class);
-            if (ObjectUtils.isEmpty(reqMsgAlarmVo.getAlarmAttr())) {
-                AjaxResults1 = new AjaxResults(0, "你填写的报警病害属性不符合规则");
-                return SM4Utils.encryptData_ECB(JSONObject.toJSONString(AjaxResults1), key);
-            }
             if (!reqMsgAlarmVo.getAlarmMile().toString().matches(PATTERNS)) {
                 AjaxResults1 = new AjaxResults(0, "报警里程位置填写错误");
                 return SM4Utils.encryptData_ECB(JSONObject.toJSONString(AjaxResults1), key);