增加防御代码,防止恶意攻击(优化)
This commit is contained in:
@@ -72,6 +72,6 @@
|
||||
</select>
|
||||
|
||||
<select id="getCountByIpAndDate" resultType="java.lang.Long">
|
||||
select count(1) from jsh_log where client_ip=#{clientIp} and create_time=#{createTime}
|
||||
select count(1) from jsh_log where operation=#{moduleName} and client_ip=#{clientIp} and create_time=#{createTime}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user