准确提示代码生成器中,校验出的问题字段

This commit is contained in:
kuang.yife 2023-12-15 11:38:10 +08:00
parent e458b461eb
commit e01499c62e
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class SqlUtil
{
if (StringUtils.indexOfIgnoreCase(value, sqlKeyword) > -1)
{
throw new UtilException("参数存在SQL注入风险");
throw new UtilException("参数存在SQL注入风险字段:" + sqlKeyword);
}
}
}