|
|
@ -5,10 +5,7 @@ import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.dto.OperUserDTO; |
|
|
|
import com.epmet.feign.fallback.EpmetUserFeignClientFallback; |
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
/** |
|
|
|
* @author zhaoqifeng |
|
|
@ -22,11 +19,11 @@ public interface EpmetUserFeignClient { |
|
|
|
* |
|
|
|
* 根据id查询运营人员详情 |
|
|
|
* |
|
|
|
* @param id ID |
|
|
|
* @param operUserId oper_user表主键 |
|
|
|
* @return com.epmet.commons.tools.utils.Result<java.util.List <com.epmet.dto.OperUserDTO>> |
|
|
|
* @author zhaoqifeng |
|
|
|
* @date 2020/3/19 09:28 |
|
|
|
**/ |
|
|
|
@PostMapping("/user/info/") |
|
|
|
Result<OperUserDTO> info(@RequestBody String id); |
|
|
|
@GetMapping("/operuser/queryOperUserDtoById/{operUserId}") |
|
|
|
Result<OperUserDTO> info(@PathVariable("operUserId") String operUserId); |
|
|
|
} |
|
|
|