|
@@ -1,10 +1,14 @@
|
|
|
package com.fdkankan.contro.controller;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
|
import com.fdkankan.web.response.ResultData;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
/**
|
|
|
* <p>
|
|
|
* TODO
|
|
@@ -17,11 +21,12 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
@RequestMapping("/test")
|
|
|
public class TestController {
|
|
|
|
|
|
+ @Value("#{'${model.3dtiles.sceneSource:}'.split(',')}")
|
|
|
+ private List<Integer> sdTilesSceneSourceList;
|
|
|
+
|
|
|
@GetMapping("/test")
|
|
|
public ResultData test(){
|
|
|
- String test = null;
|
|
|
- test.equals("");
|
|
|
- return ResultData.ok();
|
|
|
+ return ResultData.ok(JSON.toJSONString(sdTilesSceneSourceList));
|
|
|
}
|
|
|
|
|
|
}
|