准确提示代码生成器中,校验出的问题字段
This commit is contained in:
parent
e458b461eb
commit
e01499c62e
|
|
@ -63,7 +63,7 @@ public class SqlUtil
|
|||
{
|
||||
if (StringUtils.indexOfIgnoreCase(value, sqlKeyword) > -1)
|
||||
{
|
||||
throw new UtilException("参数存在SQL注入风险");
|
||||
throw new UtilException("参数存在SQL注入风险字段:" + sqlKeyword);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue