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

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

@@ -28,4 +28,8 @@ public interface LogMapperEx {
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("content") String content);
Long getCountByIpAndDate(
@Param("clientIp") String clientIp,
@Param("createTime") String createTime);
}