修改提示语
This commit is contained in:
+2
-2
@@ -99,7 +99,7 @@ public class ValidUtil {
|
||||
if(set != null && set.size() > 0 ){
|
||||
for(ConstraintViolation<Object> constraintViolation : set){
|
||||
// 这里循环获取错误信息,可以自定义格式
|
||||
msg.append("第").append(count).append("行:").append(constraintViolation.getMessage()).append(",请修改!<br/>");
|
||||
msg.append("第").append(count).append("行:").append(constraintViolation.getMessage()).append(",请修改。<br/>");
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
@@ -118,7 +118,7 @@ public class ValidUtil {
|
||||
if(set != null && set.size() > 0 ){
|
||||
for(ConstraintViolation<Object> constraintViolation : set){
|
||||
// 这里循环获取错误信息,可以自定义格式
|
||||
msg.append("第").append(count).append("行:").append(num).append(constraintViolation.getMessage()).append(",请修改!<br/>");
|
||||
msg.append("第").append(count).append("行:").append(num).append(constraintViolation.getMessage()).append(",请修改。<br/>");
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
|
||||
Reference in New Issue
Block a user