余额支付
This commit is contained in:
@@ -112,9 +112,14 @@ public class SysParamsServiceImpl extends ServiceImpl<SysParamsMapper, SysParams
|
||||
@Override
|
||||
public String getSysParamValue(String code) {
|
||||
SysParams sysParam = getSysParam(code);
|
||||
log.error("参数不存在,参数编码:{}", code);
|
||||
AssertUtil.isNull(sysParam, "参数不存在");
|
||||
AssertUtil.isBlank(sysParam.getParamValue(), "参数值为空");
|
||||
if (sysParam == null) {
|
||||
log.error("参数不存在,参数编码:{}", code);
|
||||
return "";
|
||||
}
|
||||
if (sysParam.getParamValue() == null) {
|
||||
log.error("参数值为空,参数编码:{}", code);
|
||||
return "";
|
||||
}
|
||||
return sysParam.getParamValue();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user