|
|
|
@@ -10,12 +10,14 @@ import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
import redis.clients.jedis.Jedis; |
|
|
|
import redis.clients.jedis.JedisPool; |
|
|
|
import redis.clients.util.Pool; |
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
@Component |
|
|
|
public class WxOpenInRedisDBConfigStorage extends WxOpenInMemoryConfigStorage { |
|
|
|
private final static String COMPONENT_VERIFY_TICKET_KEY = "wechat_component_verify_ticket:"; |
|
|
|
private final static String COMPONENT_ACCESS_TOKEN_KEY = "wechat_component_access_token:"; |
|
|
|
|