pom文件
<dependency
>
<groupId
>cn
.keking
.project
</groupId
>
<artifactId
>kk
-anti
-reptile
</artifactId
>
<version
>1.0.0-RELEASE
</version
>
</dependency
>
<dependency
>
<groupId
>org
.redisson
</groupId
>
<artifactId
>redisson
</artifactId
>
<version
>3.6.5</version
>
</dependency
>
yml文件
spring
:
redisson
:
address
: redis
://local
.redis
.com
:6379
password
: 123456
anti
:
reptile
:
manager
:
# 是否启用反爬虫插件
enabled
: true
使用时在方法上添加注解:@AntiReptile
转载请注明原文地址: https://lol.8miu.com/read-1765.html