|
@@ -1,7 +1,6 @@
|
|
package com.fdkankan.platform.api.feign;
|
|
package com.fdkankan.platform.api.feign;
|
|
|
|
|
|
import com.fdkankan.common.response.ResultData;
|
|
import com.fdkankan.common.response.ResultData;
|
|
-import com.fdkankan.platform.api.vo.Company;
|
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -45,6 +44,10 @@ public interface PlatformClient {
|
|
@PostMapping("/getSSOUserByUserId")
|
|
@PostMapping("/getSSOUserByUserId")
|
|
ResultData getSSOUserByUserId(@RequestParam(value = "userId", required = false) Long userId) ;
|
|
ResultData getSSOUserByUserId(@RequestParam(value = "userId", required = false) Long userId) ;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @return company
|
|
|
|
+ */
|
|
@PostMapping("/getCompanyById")
|
|
@PostMapping("/getCompanyById")
|
|
- public Company getCompanyById(@RequestParam(value = "companyId", required = false) Long companyId) ;
|
|
|
|
|
|
+ ResultData getCompanyById(@RequestParam(value = "companyId", required = false) Long companyId) ;
|
|
}
|
|
}
|