Bläddra i källkod

心跳接口修改

gao.qiang 9 månader sedan
förälder
incheckning
45b93b0219

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

@@ -1758,6 +1758,7 @@ public class GeoHazardMonitorTokenController {
             preAlarm.setPreAlarmTime(new Date(preAlarmResponse.getPreAlarmTime()));
             preAlarm.setPreAlarmType(preAlarmResponse.getPreAlarmType());
             preAlarm.setPreAlarmList(JSON.toJSONString(preAlarmResponse.getPreAlarmList()));
+            preAlarm.setCreatedTime(new Date());
             if (preAlarmService.save(preAlarm)) {
                 AjaxResults1 = new AjaxResults(1, "ok");
                 return SM4Utils.encryptData_ECB(JSONObject.toJSONString(AjaxResults1), key);