From dcc6bab9ddaa0b47dcbf28ff783ec6de603616a8 Mon Sep 17 00:00:00 2001 From: lisy <linlangsur163@163.com> Date: 星期三, 05 七月 2023 18:51:04 +0800 Subject: [PATCH] 发布视频实体类 --- cloud-server-other/src/main/java/com/dsh/other/controller/StoreController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/StoreController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/StoreController.java index 3ab7122..96e7621 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/controller/StoreController.java +++ b/cloud-server-other/src/main/java/com/dsh/other/controller/StoreController.java @@ -45,7 +45,7 @@ } @PostMapping("/base/protocol/storeDetail/nearbyStore") - public List<StoreInfo> getAllNearbyStoreList(@RequestBody String longitude,@RequestBody String latitude){ + public List<StoreInfo> getAllNearbyStoreList(@RequestParam("longitude") String longitude, @RequestParam("latitude") String latitude){ String current = longitude+","+latitude; List<StoreInfo> storeInfos = new ArrayList<>(); String cityCode = ""; @@ -85,7 +85,7 @@ @PostMapping("/base/protocol/storeDetail/storeOfLonLat") - public List<StoreLonLatList> getAllStoreLonLats(@RequestBody String longitude, @RequestBody String latitude){ + public List<StoreLonLatList> getAllStoreLonLats(@RequestParam("longitude") String longitude, @RequestParam("latitude") String latitude){ List<StoreLonLatList> storeInfos = new ArrayList<>(); try { Map<String, String> geocode = gdMapGeocodingUtil.geocode(longitude, latitude); -- Gitblit v1.7.1