|
@ -10,6 +10,9 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import springfox.documentation.annotations.ApiIgnore;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* @author l4qiang
|
|
|
*/
|
|
@ -23,6 +26,11 @@ public interface RsDictClient {
|
|
|
@ApiParam(name = "dict") @RequestParam(value = "dict") String dict,
|
|
|
@ApiParam(name = "code") @RequestParam(value = "code") String code);
|
|
|
|
|
|
@RequestMapping(value = MicroServiceApi.Resource.DICT_ENTRIES, method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "根据dict从缓存获取字典项")
|
|
|
List<Serializable> getCacheEntries(
|
|
|
@ApiParam(name = "dict") @RequestParam(value = "dict") String dict);
|
|
|
|
|
|
@RequestMapping(value = MicroServiceApi.Resource.DICT_ENTRY, method = RequestMethod.DELETE)
|
|
|
@ApiOperation(value = "清空缓存字典项")
|
|
|
void deleteCacheValue(
|