🆕 #1596 【企业微信】新增会话存档相关接口

This commit is contained in:
Wong
2022-01-24 16:09:16 +00:00
committed by Binary Wang
parent b8dd04b89f
commit c0535f87fb
19 changed files with 2308 additions and 13 deletions

View File

@@ -174,6 +174,13 @@ public interface WxCpConfigStorage {
*/
String getAesKey();
/**
* 获取企微会话存档系统库 绝对路径
*
* @return
*/
String getMsgAuditLibPath();
/**
* Gets expires time.
*

View File

@@ -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.
*

View File

@@ -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.
*