Browse Source

FeignClientFallBack添加getCustomerStaffInfoByUserId

dev_shibei_match
zxc 5 years ago
parent
commit
2b28fcd6a5
  1. 1
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/feign/fallback/EpmetUserFeignClientFallback.java
  2. 2
      epmet-module/gov-org/gov-org-server/src/main/resources/bootstrap.yml
  3. 2
      epmet-user/epmet-user-server/src/main/resources/bootstrap.yml

1
epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/feign/fallback/EpmetUserFeignClientFallback.java

@ -21,7 +21,6 @@ public class EpmetUserFeignClientFallBack implements EpmetUserFeignClient {
public Result<CustomerStaffDTO> getCustomerStaffInfoByUserId(CustomerStaffDTO formDTO) { public Result<CustomerStaffDTO> getCustomerStaffInfoByUserId(CustomerStaffDTO formDTO) {
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getCustomerStaffInfoByUserId", formDTO); return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getCustomerStaffInfoByUserId", formDTO);
} }
@Override @Override
public Result<List<StaffGridListDTO>> getStaffGridList(List<CustomerStaffGridDTO> customerStaffGridDTOS) { public Result<List<StaffGridListDTO>> getStaffGridList(List<CustomerStaffGridDTO> customerStaffGridDTOS) {
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getStaffGridList", customerStaffGridDTOS); return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getStaffGridList", customerStaffGridDTOS);

2
epmet-module/gov-org/gov-org-server/src/main/resources/bootstrap.yml

@ -10,7 +10,7 @@ spring:
name: gov-org-server name: gov-org-server
#环境 dev|test|prod #环境 dev|test|prod
profiles: profiles:
active: dev active: dev-local
messages: messages:
encoding: UTF-8 encoding: UTF-8
basename: i18n/messages_common basename: i18n/messages_common

2
epmet-user/epmet-user-server/src/main/resources/bootstrap.yml

@ -10,7 +10,7 @@ spring:
name: epmet-user-server name: epmet-user-server
#环境 dev|test|prod #环境 dev|test|prod
profiles: profiles:
active: dev active: dev-local
messages: messages:
encoding: UTF-8 encoding: UTF-8
basename: i18n/messages_common basename: i18n/messages_common

Loading…
Cancel
Save