mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
🎨 批量添加部分javadoc
This commit is contained in:
@@ -177,14 +177,14 @@ public interface WxCpConfigStorage {
|
||||
/**
|
||||
* 企微会话存档私钥
|
||||
*
|
||||
* @return
|
||||
* @return msg audit pri key
|
||||
*/
|
||||
String getMsgAuditPriKey();
|
||||
|
||||
/**
|
||||
* 获取企微会话存档系统库 绝对路径
|
||||
*
|
||||
* @return
|
||||
* @return msg audit lib path
|
||||
*/
|
||||
String getMsgAuditLibPath();
|
||||
|
||||
|
||||
@@ -257,8 +257,6 @@ public interface WxCpTpConfigStorage {
|
||||
*/
|
||||
void updateAuthSuiteJsApiTicket(String authCorpId, String jsApiTicket, int expiredInSeconds);
|
||||
|
||||
;
|
||||
|
||||
/**
|
||||
* Is provider token expired boolean.
|
||||
*
|
||||
|
||||
@@ -104,7 +104,8 @@ public class WxCpRedisConfigImpl implements WxCpConfigStorage {
|
||||
* @param password the password
|
||||
* @param database the database
|
||||
*/
|
||||
public WxCpRedisConfigImpl(JedisPoolConfig poolConfig, String host, int port, int timeout, String password, int database) {
|
||||
public WxCpRedisConfigImpl(JedisPoolConfig poolConfig, String host, int port, int timeout, String password,
|
||||
int database) {
|
||||
jedisPool = new JedisPool(poolConfig, host, port, timeout, password, database);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,8 +13,7 @@ import java.util.concurrent.locks.Lock;
|
||||
/**
|
||||
* 基于Redisson的实现
|
||||
*
|
||||
* @author yuanqixun
|
||||
* created on 2020 /5/13
|
||||
* @author yuanqixun created on 2020 /5/13
|
||||
*/
|
||||
public class WxCpRedissonConfigImpl extends WxCpDefaultConfigImpl {
|
||||
/**
|
||||
|
||||
@@ -45,12 +45,12 @@ public class WxCpTpDefaultConfigImpl implements WxCpTpConfigStorage, Serializabl
|
||||
private volatile String suiteTicket;
|
||||
private volatile long suiteTicketExpiresTime;
|
||||
private volatile String oauth2redirectUri;
|
||||
private volatile Map<String, String> authCorpAccessTokenMap = new HashMap<>();
|
||||
private volatile Map<String, Long> authCorpAccessTokenExpireTimeMap = new HashMap<>();
|
||||
private volatile Map<String, String> authCorpJsApiTicketMap = new HashMap<>();
|
||||
private volatile Map<String, Long> authCorpJsApiTicketExpireTimeMap = new HashMap<>();
|
||||
private volatile Map<String, String> authSuiteJsApiTicketMap = new HashMap<>();
|
||||
private volatile Map<String, Long> authSuiteJsApiTicketExpireTimeMap = new HashMap<>();
|
||||
private final Map<String, String> authCorpAccessTokenMap = new HashMap<>();
|
||||
private final Map<String, Long> authCorpAccessTokenExpireTimeMap = new HashMap<>();
|
||||
private final Map<String, String> authCorpJsApiTicketMap = new HashMap<>();
|
||||
private final Map<String, Long> authCorpJsApiTicketExpireTimeMap = new HashMap<>();
|
||||
private final Map<String, String> authSuiteJsApiTicketMap = new HashMap<>();
|
||||
private final Map<String, Long> authSuiteJsApiTicketExpireTimeMap = new HashMap<>();
|
||||
private volatile String httpProxyHost;
|
||||
private volatile int httpProxyPort;
|
||||
private volatile String httpProxyUsername;
|
||||
|
||||
@@ -429,7 +429,6 @@ public class WxCpTpRedissonConfigImpl implements WxCpTpConfigStorage, Serializab
|
||||
|
||||
/**
|
||||
* 一个provider 会有多个suite,需要唯一标识作为前缀
|
||||
*
|
||||
*/
|
||||
private String keyWithPrefix(String key) {
|
||||
return keyPrefix + ":" + suiteId + ":" + key;
|
||||
@@ -438,7 +437,6 @@ public class WxCpTpRedissonConfigImpl implements WxCpTpConfigStorage, Serializab
|
||||
/**
|
||||
* provider 应该独享一个key,且不和任何suite关联
|
||||
* 一个provider 会有多个suite,不同的suite 都应该指向同一个provider 的数据
|
||||
*
|
||||
*/
|
||||
private String providerKeyWithPrefix(String key) {
|
||||
return keyPrefix + ":" + corpId + ":" + key;
|
||||
|
||||
Reference in New Issue
Block a user