mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-12 05:39:00 +08:00
⬆️ Upgrading dependencies. #2251 up AJ-Captcha 行为验证码 V1.2.5
This commit is contained in:
1 parent
f8289a00a6
commit
f97015b183
3 files changed
+5
-6
No files matched your search
+2
-4
@@ -1,19 +1,17 @@
|
||||
package com.pig4cloud.pigx.gateway.config;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import com.anji.captcha.service.CaptchaCacheService;
|
||||
import com.google.auto.service.AutoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.redis.core.StringRedisTemplate;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* @author lengleng
|
||||
* @date 2020/8/27
|
||||
* <p>
|
||||
* 验证码 缓存提供支持集群,需要通过SPI
|
||||
*/
|
||||
@AutoService(CaptchaCacheService.class)
|
||||
public class CaptchaCacheServiceProvider implements CaptchaCacheService {
|
||||
|
||||
private static final String REDIS = "redis";
|
||||
|
||||
Reference in new issue
Block a user