|
@@ -1,5 +1,7 @@
|
|
package com.fdkankan.scene.controller;
|
|
package com.fdkankan.scene.controller;
|
|
|
|
|
|
|
|
+import com.fdkankan.platform.api.feign.PlatformClient;
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -8,10 +10,15 @@ import org.springframework.web.bind.annotation.RestController;
|
|
@RequestMapping("/api/device")
|
|
@RequestMapping("/api/device")
|
|
public class TestController {
|
|
public class TestController {
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ PlatformClient platformClient;
|
|
|
|
+
|
|
@GetMapping("/test")
|
|
@GetMapping("/test")
|
|
public String test(){
|
|
public String test(){
|
|
- System.out.println(1/0);
|
|
|
|
- return "123";
|
|
|
|
|
|
+
|
|
|
|
+// platformClient.getCameraByChildName()
|
|
|
|
+ return null;
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|