|
|
|
|
@ -73,7 +73,7 @@ public class ConfigController {
|
|
|
|
|
public CommonResult<String> getConfigKey(@RequestParam("key") String key) {
|
|
|
|
|
ConfigDO config = configService.getConfigByKey(key);
|
|
|
|
|
if (config == null) {
|
|
|
|
|
return null;
|
|
|
|
|
return success(null);
|
|
|
|
|
}
|
|
|
|
|
if (!config.getVisible()) {
|
|
|
|
|
throw exception(ErrorCodeConstants.CONFIG_GET_VALUE_ERROR_IF_VISIBLE);
|
|
|
|
|
@ -102,4 +102,4 @@ public class ConfigController {
|
|
|
|
|
ExcelUtils.write(response, "参数配置.xls", "数据", ConfigExcelVO.class, datas);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|