🎨 #4079 【企业微信】支持长整型的企业微信应用ID
This commit is contained in:
@@ -125,7 +125,7 @@ public abstract class AbstractWxCpConfiguration {
|
||||
private void configCorp(WxCpDefaultConfigImpl config, WxCpSingleProperties wxCpSingleProperties) {
|
||||
String corpId = wxCpSingleProperties.getCorpId();
|
||||
String corpSecret = wxCpSingleProperties.getCorpSecret();
|
||||
Integer agentId = wxCpSingleProperties.getAgentId();
|
||||
Long agentId = wxCpSingleProperties.getAgentId();
|
||||
String token = wxCpSingleProperties.getToken();
|
||||
String aesKey = wxCpSingleProperties.getAesKey();
|
||||
// 企业微信,私钥,会话存档路径
|
||||
|
||||
@@ -52,7 +52,7 @@ public class WxCpSingleProperties implements Serializable {
|
||||
* <p>使用自建应用 Secret 时,需要填写对应应用的 AgentId。</p>
|
||||
* <p>使用通讯录同步 Secret 时,无需填写此字段。</p>
|
||||
*/
|
||||
private Integer agentId;
|
||||
private Long agentId;
|
||||
/**
|
||||
* 微信企业号应用 EncodingAESKey
|
||||
*/
|
||||
|
||||
@@ -34,7 +34,7 @@ public class WxCpProperties {
|
||||
/**
|
||||
* 微信企业号应用 ID
|
||||
*/
|
||||
private Integer agentId;
|
||||
private Long agentId;
|
||||
/**
|
||||
* 微信企业号应用 EncodingAESKey
|
||||
*/
|
||||
|
||||
@@ -15,7 +15,7 @@ public abstract class AbstractWxCpConfigStorageConfiguration {
|
||||
protected WxCpDefaultConfigImpl config(WxCpDefaultConfigImpl config, WxCpProperties properties) {
|
||||
String corpId = properties.getCorpId();
|
||||
String corpSecret = properties.getCorpSecret();
|
||||
Integer agentId = properties.getAgentId();
|
||||
Long agentId = properties.getAgentId();
|
||||
String token = properties.getToken();
|
||||
String aesKey = properties.getAesKey();
|
||||
// 企业微信,私钥,会话存档路径
|
||||
|
||||
Reference in New Issue
Block a user