修改非maat配置新增时,number类型格式不正确时返回的错误信息

This commit is contained in:
zhangdongxu
2018-06-05 16:15:13 +08:00
parent d748537492
commit 3f1f4b6d75
2 changed files with 2 additions and 2 deletions

View File

@@ -2479,7 +2479,7 @@ public class ConfigSourcesService extends BaseService {
if(!StringUtil.isNumeric(dstStr)){
logger1.error(commonSourceFieldCfg.getSrcName()+"参数不能格式不正确,必需是数值型");
thread.setExceptionInfo(commonSourceFieldCfg.getSrcName()+"参数不能格式不正确,必需是数值型");
throw new RestServiceException(thread, System.currentTimeMillis() - start,commonSourceFieldCfg.getSrcName()+"参数不能格式不正确",
throw new RestServiceException(thread, System.currentTimeMillis() - start,commonSourceFieldCfg.getSrcName()+"参数不能格式不正确,必需是数值型",
RestBusinessCode.missing_args.getValue());
}
break;