mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-12-19 19:47:09 +08:00
🆕 #2676 【企业微信】增加家校应用-复学码接口支持
This commit is contained in:
@@ -38,6 +38,10 @@ public class WxCpProperties {
|
||||
* 微信企业号应用 EncodingAESKey
|
||||
*/
|
||||
private String aesKey;
|
||||
/**
|
||||
* 微信企业号应用 会话存档私钥
|
||||
*/
|
||||
private String msgAuditPriKey;
|
||||
/**
|
||||
* 微信企业号应用 会话存档类库路径
|
||||
*/
|
||||
|
||||
@@ -18,7 +18,8 @@ public abstract class AbstractWxCpConfigStorageConfiguration {
|
||||
String token = properties.getToken();
|
||||
Integer agentId = properties.getAgentId();
|
||||
String aesKey = properties.getAesKey();
|
||||
// 企业微信,会话存档路径
|
||||
// 企业微信,私钥,会话存档路径
|
||||
String msgAuditPriKey = properties.getMsgAuditPriKey();
|
||||
String msgAuditLibPath = properties.getMsgAuditLibPath();
|
||||
|
||||
config.setCorpId(corpId);
|
||||
@@ -32,6 +33,9 @@ public abstract class AbstractWxCpConfigStorageConfiguration {
|
||||
if (StringUtils.isNotBlank(aesKey)) {
|
||||
config.setAesKey(aesKey);
|
||||
}
|
||||
if (StringUtils.isNotBlank(msgAuditPriKey)) {
|
||||
config.setMsgAuditPriKey(msgAuditPriKey);
|
||||
}
|
||||
if (StringUtils.isNotBlank(msgAuditLibPath)) {
|
||||
config.setMsgAuditLibPath(msgAuditLibPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user