增加防御代码,防止恶意攻击
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user