|
@@ -29,7 +29,7 @@ public class SystemPropertyCache extends RandomObjectRedisCache<SysPropertyCache
|
|
|
|
|
|
SystemPropertyEntity sysConf = systemPropertyRepo.getOne(propKey);
|
|
SystemPropertyEntity sysConf = systemPropertyRepo.getOne(propKey);
|
|
if (null == sysConf) {
|
|
if (null == sysConf) {
|
|
- throw new StatusException("350002", "key is wrong");
|
|
|
|
|
|
+ return null;
|
|
}
|
|
}
|
|
|
|
|
|
String value = sysConf.getPropValue();
|
|
String value = sysConf.getPropValue();
|