瀏覽代碼

中心端识别程序心跳接口开发

gao.qiang 1 周之前
父節點
當前提交
c6c92dd1ab

+ 2 - 2
hazard-sdk/src/main/java/com/ozs/controller/upload/GeoHazardMonitorTokenController.java

@@ -344,8 +344,8 @@ public class GeoHazardMonitorTokenController {
      *
      * @return
      */
-    @GetMapping("/cloud/state")
-    public String cloudState(HttpServletRequest request){
+    @PostMapping("/cloud/state")
+    public String cloudState(@RequestParam("parameter") String parameter,HttpServletRequest request){
         JSONObject jsonObject = new JSONObject();
         String token = apiTokenUtils.getGeoHazardMonitorToken(request);
         log.info("token:{}", token);