package org.jeecg.modules.dry.api;
|
|
|
import org.jeecg.common.api.vo.Result;
|
import org.jeecg.modules.dry.api.fallback.JeecgSystemFallback;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.stereotype.Component;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
@FeignClient(value = "ichd-system", fallbackFactory = JeecgSystemFallback.class)
|
@Component
|
public interface JeecgSystemApi {
|
|
|
@GetMapping(value = "/sys/dict/getDictText/{dictCode}/{key}")
|
Result<String> getDictText(@PathVariable("dictCode") String dictCode, @PathVariable("key") String key);
|
}
|