|
@ -4,12 +4,10 @@ import com.epmet.commons.tools.constant.ServiceConstant; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.dto.CustomerStaffDTO; |
|
|
import com.epmet.dto.CustomerStaffDTO; |
|
|
import com.epmet.dto.form.CustomerStaffRoleListFormDTO; |
|
|
import com.epmet.dto.form.CustomerStaffRoleListFormDTO; |
|
|
|
|
|
import com.epmet.dto.form.GovStaffRoleFormDTO; |
|
|
import com.epmet.dto.form.LoginUserDetailsFormDTO; |
|
|
import com.epmet.dto.form.LoginUserDetailsFormDTO; |
|
|
import com.epmet.dto.form.TagCustomerFormDTO; |
|
|
import com.epmet.dto.form.TagCustomerFormDTO; |
|
|
import com.epmet.dto.result.CustomerStaffRoleListResultDTO; |
|
|
import com.epmet.dto.result.*; |
|
|
import com.epmet.dto.result.CustomerStaffRoleResultDTO; |
|
|
|
|
|
import com.epmet.dto.result.LoginUserDetailsResultDTO; |
|
|
|
|
|
import com.epmet.dto.result.TagCustomerResultDTO; |
|
|
|
|
|
import com.epmet.feign.fallback.EpmetUserOpenFeignClientFallback; |
|
|
import com.epmet.feign.fallback.EpmetUserOpenFeignClientFallback; |
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
@ -24,6 +22,7 @@ import java.util.List; |
|
|
* @author yinzuomei@elink-cn.com |
|
|
* @author yinzuomei@elink-cn.com |
|
|
* @date 2020/6/4 13:09 |
|
|
* @date 2020/6/4 13:09 |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
//@FeignClient(name = ServiceConstant.EPMET_USER_SERVER, fallback = EpmetUserOpenFeignClientFallback.class, url = "localhost:8087")
|
|
|
@FeignClient(name = ServiceConstant.EPMET_USER_SERVER, fallback = EpmetUserOpenFeignClientFallback.class) |
|
|
@FeignClient(name = ServiceConstant.EPMET_USER_SERVER, fallback = EpmetUserOpenFeignClientFallback.class) |
|
|
public interface EpmetUserOpenFeignClient { |
|
|
public interface EpmetUserOpenFeignClient { |
|
|
|
|
|
|
|
@ -72,4 +71,11 @@ public interface EpmetUserOpenFeignClient { |
|
|
@PostMapping("/epmetuser/user/getcustomeridbyuserid") |
|
|
@PostMapping("/epmetuser/user/getcustomeridbyuserid") |
|
|
Result<TagCustomerResultDTO> getCustomerIdByUserId(@RequestBody TagCustomerFormDTO formDTO); |
|
|
Result<TagCustomerResultDTO> getCustomerIdByUserId(@RequestBody TagCustomerFormDTO formDTO); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 根据角色id列表批量查询角色信息 |
|
|
|
|
|
* @param form |
|
|
|
|
|
* @return |
|
|
|
|
|
*/ |
|
|
|
|
|
@PostMapping("/epmetuser/govstaffrole/getbyids") |
|
|
|
|
|
Result<List<GovStaffRoleResultDTO>> getByIds(@RequestBody GovStaffRoleFormDTO form); |
|
|
} |
|
|
} |
|
|