|
@@ -1,26 +0,0 @@
|
|
|
-package com.fdkankan.modeling;
|
|
|
-
|
|
|
-import com.fdkankan.common.response.ResultData;
|
|
|
-import com.fdkankan.oss.UploadUtils;
|
|
|
-import com.fdkankan.platform.api.feign.PlatformClient;
|
|
|
-import com.fdkankan.platform.api.vo.Company;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-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;
|
|
|
-
|
|
|
-@RestController
|
|
|
-@RequestMapping("/ts")
|
|
|
-public class TestController {
|
|
|
-
|
|
|
- @Autowired
|
|
|
- private UploadUtils uploadUtils;
|
|
|
- @Resource
|
|
|
- private PlatformClient platformClient;
|
|
|
- @GetMapping("/up")
|
|
|
- private ResultData<Company> upload(){
|
|
|
- return platformClient.getCompanyById(11L);
|
|
|
- }
|
|
|
-}
|