| | |
| | | import com.vci.ubcs.system.entity.DictBiz; |
| | | 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; |
| | | |
| | |
| | | * @author Chill |
| | | */ |
| | | @FeignClient( |
| | | value = AppConstant.APPLICATION_NAME_OMD, |
| | | value = AppConstant.APPLICATION_SYSTEM_NAME, |
| | | fallback = IDictBizClientFallback.class |
| | | ) |
| | | public interface IDictBizClient { |
| | |
| | | * @param dictBiz 字典数据 |
| | | * @return |
| | | */ |
| | | @GetMapping(CHECK_VALUE) |
| | | R getCheck(@Valid @RequestBody DictBiz dictBiz); |
| | | @PostMapping(CHECK_VALUE) |
| | | R getCheck(@RequestBody DictBiz dictBiz); |
| | | |
| | | } |