feat: 数据集入口适配

This commit is contained in:
junjie 2021-12-22 12:28:09 +08:00
parent 91e5f56e52
commit e33d6e3e5b

View File

@ -100,7 +100,7 @@ public class SystemParameterController {
}
@PostMapping(value = "/checkCustomDs")
public boolean checkCustomDs() throws IOException {
public boolean checkCustomDs() {
try {
Object cache = CacheUtils.get(DatasetCheckListener.CACHE_NAME, DatasetCheckListener.CACHE_KEY);
return cache != null && (boolean) cache;