Bladeren bron

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

gao.qiang 1 week geleden
bovenliggende
commit
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);