package com.epmet.feign; import com.epmet.commons.tools.constant.ServiceConstant; import com.epmet.commons.tools.utils.Result; import com.epmet.dto.form.CustomerStaffRoleListFormDTO; import com.epmet.dto.result.CustomerStaffRoleListResultDTO; import com.epmet.feign.fallback.EpmetUserSelfFeignClientFallBack; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import java.util.List; /** * @dscription epmet-user服务 * @author sun */ @FeignClient(name = ServiceConstant.EPMET_USER_SERVER, fallback = EpmetUserSelfFeignClientFallBack.class) public interface EpmetUserSelfFeignClient { /** * @param formDTO * @return * @Author sun * @Description 根据客户Id和staffId查询一个员工在指定客户下的角色列表 **/ @PostMapping("/epmetuser/staffrole/getcustomerstaffrolelist") Result> getCustomerStaffRoleList(CustomerStaffRoleListFormDTO formDTO); }