mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-12-20 03:49:58 +08:00
🎨 完善企业微信 starter 文档
This commit is contained in:
@@ -16,9 +16,11 @@
|
|||||||
wx.cp.corp-id = @corp-id
|
wx.cp.corp-id = @corp-id
|
||||||
wx.cp.corp-secret = @corp-secret
|
wx.cp.corp-secret = @corp-secret
|
||||||
# 选填
|
# 选填
|
||||||
|
wx.cp.agent-id = @agent-id
|
||||||
wx.cp.token = @token
|
wx.cp.token = @token
|
||||||
wx.cp.aes-key = @aes-key
|
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 配置(选填)
|
# ConfigStorage 配置(选填)
|
||||||
wx.cp.config-storage.type=memory # 配置类型: memory(默认), jedis, redisson, redistemplate
|
wx.cp.config-storage.type=memory # 配置类型: memory(默认), jedis, redisson, redistemplate
|
||||||
# http 客户端配置(选填)
|
# http 客户端配置(选填)
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ public class WxCpInJedisConfigStorageConfiguration extends AbstractWxCpConfigSto
|
|||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
@ConditionalOnMissingBean(WxCpConfigStorage.class)
|
@ConditionalOnMissingBean(WxCpConfigStorage.class)
|
||||||
public WxCpConfigStorage wxOpenConfigStorage() {
|
public WxCpConfigStorage wxCpConfigStorage() {
|
||||||
WxCpDefaultConfigImpl config = getConfigStorage();
|
WxCpDefaultConfigImpl config = getConfigStorage();
|
||||||
return this.config(config, wxCpProperties);
|
return this.config(config, wxCpProperties);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ public class WxCpInRedisTemplateConfigStorageConfiguration extends AbstractWxCpC
|
|||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
@ConditionalOnMissingBean(WxCpConfigStorage.class)
|
@ConditionalOnMissingBean(WxCpConfigStorage.class)
|
||||||
public WxCpConfigStorage wxOpenConfigStorage() {
|
public WxCpConfigStorage wxCpConfigStorage() {
|
||||||
WxCpDefaultConfigImpl config = getConfigStorage();
|
WxCpDefaultConfigImpl config = getConfigStorage();
|
||||||
return this.config(config, wxCpProperties);
|
return this.config(config, wxCpProperties);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ public class WxCpInRedissonConfigStorageConfiguration extends AbstractWxCpConfig
|
|||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
@ConditionalOnMissingBean(WxCpConfigStorage.class)
|
@ConditionalOnMissingBean(WxCpConfigStorage.class)
|
||||||
public WxCpConfigStorage wxOpenConfigStorage() {
|
public WxCpConfigStorage wxCpConfigStorage() {
|
||||||
WxCpDefaultConfigImpl config = getConfigStorage();
|
WxCpDefaultConfigImpl config = getConfigStorage();
|
||||||
return this.config(config, wxCpProperties);
|
return this.config(config, wxCpProperties);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user