|
|
@ -11,6 +11,7 @@ import com.epmet.feign.EpmetUserOpenFeignClient; |
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
/** |
|
|
|
* 本服务对外开放的API,其他服务通过引用此client调用该服务 |
|
|
@ -250,4 +251,15 @@ public class EpmetUserOpenFeignClientFallback implements EpmetUserOpenFeignClien |
|
|
|
public Result<BasicInfoResultDTO> getStaffBasicInfo(StaffBasicInfoFromDTO fromDTO) { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getStaffBasicInfo", fromDTO); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result<MyAdviceListResultDTO> myAdviceList(Map<String, Integer> map) { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "myAdviceList", map); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result submitAdvice(SubmitAdviceFormDTO dto) { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "submitAdvice", dto); |
|
|
|
} |
|
|
|
} |
|
|
|