|
|
@ -20,7 +20,7 @@ import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
* @Date: 2020/1/28 13:24 |
|
|
|
* @Description: 定制化功能模块fegin |
|
|
|
*/ |
|
|
|
@FeignClient(name = ServiceConstant.EPDC_CUSTOM_SERVER, fallback = CustomFeignClientFallback.class,url = "http://127.0.0.1:9076") |
|
|
|
@FeignClient(name = ServiceConstant.EPDC_CUSTOM_SERVER, fallback = CustomFeignClientFallback.class) |
|
|
|
public interface CustomFeignClient { |
|
|
|
/** |
|
|
|
* @param formDTO |
|
|
@ -53,11 +53,23 @@ public interface CustomFeignClient { |
|
|
|
*/ |
|
|
|
@GetMapping(value = "custom/epidemicSentryPost/selectOneByThirdSentryPostid/{thirdSentryPostid}", consumes = MediaType.APPLICATION_JSON_VALUE) |
|
|
|
Result<EpidemicSentryPostDTO> getEpidemicSentryByThirdSentryPostid(@PathVariable("thirdSentryPostid") String thirdSentryPostid); |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 企业信息完善 |
|
|
|
* @Author songyunpeng |
|
|
|
* @Date 2020/2/28 |
|
|
|
* @Param [enterpriseInfoFormDTO] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
**/ |
|
|
|
@GetMapping(value = "custom/enterpriseinfo/completeSelectiveInfo", consumes = MediaType.APPLICATION_JSON_VALUE) |
|
|
|
Result completeEnterpriseInfo(EnterpriseInfoFormDTO enterpriseInfoFormDTO); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 查询企业信息 |
|
|
|
* @Author songyunpeng |
|
|
|
* @Date 2020/2/28 |
|
|
|
* @Param [userId] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.dto.enterprise.result.EnterpriseInfoResultDTO> |
|
|
|
**/ |
|
|
|
@GetMapping(value = "custom/enterpriseinfo/getByUserId/{userId}", consumes = MediaType.APPLICATION_JSON_VALUE) |
|
|
|
Result<EnterpriseInfoResultDTO> getEnterpriseInfoByUserId(@PathVariable("userId")String userId); |
|
|
|
|
|
|
|