增加防御代码,防止恶意攻击

This commit is contained in:
季圣华
2021-08-21 23:57:59 +08:00
parent 7ac14d49fd
commit 56dbc071ee
5 changed files with 47 additions and 21 deletions

View File

@@ -70,4 +70,8 @@
and l.content like #{bindContent}
</if>
</select>
<select id="getCountByIpAndDate" resultType="java.lang.Long">
select count(1) from jsh_log where client_ip=#{clientIp} and create_time=#{createTime}
</select>
</mapper>