Interface SysUdcFeignClient


@FeignClient(name="sys-dms2-newsys", path="/api/v1/sys/udcs") public interface SysUdcFeignClient
系统统一数据字典 Feign客户端
  • Method Details

    • listAllUdcs

      @GetMapping("/all") Object listAllUdcs()
      获取所有字典
    • getNameByCode

      @PostMapping("/namebycode") ApiResult<String> getNameByCode(@RequestBody SysUdcSingleParam param)
      通过code获取name
    • getValueByCode

      @PostMapping("/valuebycode") ApiResult<String> getValueByCode(@RequestBody SysUdcSingleParam param)
      通过code获取value
    • list

      @GetMapping("/{appCode}/{udcCode}/list") ApiResult<List<SysUdcValueDto>> list(@PathVariable("appCode") String appCode, @PathVariable("udcCode") String udcCode)
      通过appCode, udcCode获取value列表
    • map

      @GetMapping("/{appCode}/{udcCode}/map") ApiResult<Map<String,String>> map(@PathVariable("appCode") String appCode, @PathVariable("udcCode") String udcCode)
      通过appCode, udcCode获取value列表