|
@@ -1,21 +0,0 @@
|
|
|
-package com.fdkankan.scene;
|
|
|
-
|
|
|
-import com.fdkankan.platform.api.feign.PlatformClient;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
-
|
|
|
-import javax.annotation.Resource;
|
|
|
-
|
|
|
-@RequestMapping("/ts")
|
|
|
-@RestController
|
|
|
-public class TestController {
|
|
|
-
|
|
|
- @Resource
|
|
|
- PlatformClient platformClient;
|
|
|
-
|
|
|
- @GetMapping("/test")
|
|
|
- private void test(){
|
|
|
- platformClient.getCompanyById(10006L);
|
|
|
- }
|
|
|
-}
|