From 6c56f35bef519265b4e7ae98fda6ca87855daf9f Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期四, 15 十二月 2022 11:29:08 +0800
Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/sccg_server

---
 ycl-platform/src/main/java/com/ycl/controller/trend/TrendAnalysisController.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ycl-platform/src/main/java/com/ycl/controller/trend/TrendAnalysisController.java b/ycl-platform/src/main/java/com/ycl/controller/trend/TrendAnalysisController.java
index aae2e6d..b19efa9 100644
--- a/ycl-platform/src/main/java/com/ycl/controller/trend/TrendAnalysisController.java
+++ b/ycl-platform/src/main/java/com/ycl/controller/trend/TrendAnalysisController.java
@@ -27,10 +27,10 @@
     }
 
     @ApiOperation("鐐逛綅鏁版嵁鏌ヨ")
-    @PostMapping("/pointInfo")
-    public CommonResult<List<TrendVo>> queryPointInfo(@RequestBody String id) {
-        JSONObject jsonObject = JSON.parseObject(id);
-        return CommonResult.success(trendAnalysisService.queryPointInfo(jsonObject.getString("id")));
+    @GetMapping("/pointInfo")
+    public CommonResult<List<TrendVo>> queryPointInfo(@RequestParam(required = false) String longitude,
+                                                      @RequestParam(required = false) String latitude) {
+        return CommonResult.success(trendAnalysisService.queryPointInfo(longitude,latitude));
     }
 
     @ApiOperation("棣栨鎶ヨ鐐逛綅鏁版嵁鏌ヨ")

--
Gitblit v1.8.0