mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
🆕 #1596 【企业微信】新增会话存档相关接口
This commit is contained in:
@@ -174,6 +174,13 @@ public interface WxCpConfigStorage {
|
||||
*/
|
||||
String getAesKey();
|
||||
|
||||
/**
|
||||
* 获取企微会话存档系统库 绝对路径
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
String getMsgAuditLibPath();
|
||||
|
||||
/**
|
||||
* Gets expires time.
|
||||
*
|
||||
|
||||
@@ -43,6 +43,7 @@ public class WxCpDefaultConfigImpl implements WxCpConfigStorage, Serializable {
|
||||
private volatile String token;
|
||||
private volatile String aesKey;
|
||||
private volatile long expiresTime;
|
||||
private volatile String msgAuditLibPath;
|
||||
private volatile String oauth2redirectUri;
|
||||
private volatile String httpProxyHost;
|
||||
private volatile int httpProxyPort;
|
||||
@@ -256,6 +257,11 @@ public class WxCpDefaultConfigImpl implements WxCpConfigStorage, Serializable {
|
||||
return this.aesKey;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getMsgAuditLibPath() {
|
||||
return this.msgAuditLibPath;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets aes key.
|
||||
*
|
||||
|
||||
@@ -40,6 +40,7 @@ public class WxCpRedisConfigImpl implements WxCpConfigStorage {
|
||||
private volatile String token;
|
||||
private volatile String aesKey;
|
||||
private volatile Integer agentId;
|
||||
private volatile String msgAuditLibPath;
|
||||
private volatile String oauth2redirectUri;
|
||||
private volatile String httpProxyHost;
|
||||
private volatile int httpProxyPort;
|
||||
@@ -320,6 +321,11 @@ public class WxCpRedisConfigImpl implements WxCpConfigStorage {
|
||||
return this.aesKey;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getMsgAuditLibPath() {
|
||||
return this.msgAuditLibPath;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets aes key.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user