|
@@ -34,10 +34,7 @@ import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.data.redis.core.SetOperations;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.util.ObjectUtils;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
@@ -290,6 +287,13 @@ public class GeoHazardMonitorTokenController {
|
|
|
return SM4Utils.encryptData_ECB(s1, "4370780c9a8c43e5");
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/test")
|
|
|
+ public void test() {
|
|
|
+ String alarmUrl = alarmHistoryPlay("34020000001320507005", "34020000001320507005",new Date());
|
|
|
+ log.info(alarmUrl);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 设备状态数据传输
|
|
|
*
|