Просмотр исходного кода

新增接口,poi热点-Get请求

wuweihao 3 лет назад
Родитель
Сommit
41bce83302

+ 13 - 0
laser/src/main/java/com/fdkankan/indoor/core/controller/PoiController.java

@@ -14,6 +14,7 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
 import org.springframework.web.multipart.MultipartFile;
 
+import java.util.ArrayList;
 import java.util.List;
 
 /**
@@ -123,4 +124,16 @@ public class PoiController {
         Result result = poiService.upload(sceneCode, image);
         return result.getData();
     }
+
+    /**
+     * 2021-10-19 新加,返回空数组
+     * @param sceneCode
+     * @return
+     */
+    @WebControllerLog(description = "poi热点-Get请求")
+    @ApiOperation(value = "Get热点请求")
+    @GetMapping("indoor/{sceneCode}/api/pois")
+    public Object getPois(@PathVariable String sceneCode){
+        return new ArrayList<>();
+    }
 }