🎨 完善企业微信 starter 文档

This commit is contained in:
Forever杨 2023-10-18 16:06:13 +08:00 committed by Binary Wang
parent 16eac7e233
commit a9da3ab39e
4 changed files with 6 additions and 4 deletions

View File

@ -16,9 +16,11 @@
wx.cp.corp-id = @corp-id
wx.cp.corp-secret = @corp-secret
# 选填
wx.cp.agent-id = @agent-id
wx.cp.token = @token
wx.cp.aes-key = @aes-key
wx.cp.agent-id = @agent-id
wx.cp.msg-audit-priKey = @msg-audit-priKey
wx.cp.msg-audit-lib-path = @msg-audit-lib-path
# ConfigStorage 配置(选填)
wx.cp.config-storage.type=memory # 配置类型: memory(默认), jedis, redisson, redistemplate
# http 客户端配置(选填)

View File

@ -32,7 +32,7 @@ public class WxCpInJedisConfigStorageConfiguration extends AbstractWxCpConfigSto
@Bean
@ConditionalOnMissingBean(WxCpConfigStorage.class)
public WxCpConfigStorage wxOpenConfigStorage() {
public WxCpConfigStorage wxCpConfigStorage() {
WxCpDefaultConfigImpl config = getConfigStorage();
return this.config(config, wxCpProperties);
}

View File

@ -29,7 +29,7 @@ public class WxCpInRedisTemplateConfigStorageConfiguration extends AbstractWxCpC
@Bean
@ConditionalOnMissingBean(WxCpConfigStorage.class)
public WxCpConfigStorage wxOpenConfigStorage() {
public WxCpConfigStorage wxCpConfigStorage() {
WxCpDefaultConfigImpl config = getConfigStorage();
return this.config(config, wxCpProperties);
}

View File

@ -34,7 +34,7 @@ public class WxCpInRedissonConfigStorageConfiguration extends AbstractWxCpConfig
@Bean
@ConditionalOnMissingBean(WxCpConfigStorage.class)
public WxCpConfigStorage wxOpenConfigStorage() {
public WxCpConfigStorage wxCpConfigStorage() {
WxCpDefaultConfigImpl config = getConfigStorage();
return this.config(config, wxCpProperties);
}