From a9da3ab39e1128931e21ac13302d01382846c3a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Forever=E6=9D=A8?= <453190450@qq.com> Date: Wed, 18 Oct 2023 16:06:13 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=AE=8C=E5=96=84=E4=BC=81=E4=B8=9A?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=20starter=20=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spring-boot-starters/wx-java-cp-spring-boot-starter/README.md | 4 +++- .../cp/storage/WxCpInJedisConfigStorageConfiguration.java | 2 +- .../WxCpInRedisTemplateConfigStorageConfiguration.java | 2 +- .../cp/storage/WxCpInRedissonConfigStorageConfiguration.java | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/spring-boot-starters/wx-java-cp-spring-boot-starter/README.md b/spring-boot-starters/wx-java-cp-spring-boot-starter/README.md index a10ef65bc..d6c1abc94 100644 --- a/spring-boot-starters/wx-java-cp-spring-boot-starter/README.md +++ b/spring-boot-starters/wx-java-cp-spring-boot-starter/README.md @@ -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 客户端配置(选填) diff --git a/spring-boot-starters/wx-java-cp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/cp/storage/WxCpInJedisConfigStorageConfiguration.java b/spring-boot-starters/wx-java-cp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/cp/storage/WxCpInJedisConfigStorageConfiguration.java index 75980c361..246971bae 100644 --- a/spring-boot-starters/wx-java-cp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/cp/storage/WxCpInJedisConfigStorageConfiguration.java +++ b/spring-boot-starters/wx-java-cp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/cp/storage/WxCpInJedisConfigStorageConfiguration.java @@ -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); } diff --git a/spring-boot-starters/wx-java-cp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/cp/storage/WxCpInRedisTemplateConfigStorageConfiguration.java b/spring-boot-starters/wx-java-cp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/cp/storage/WxCpInRedisTemplateConfigStorageConfiguration.java index 46efa050a..879568b16 100644 --- a/spring-boot-starters/wx-java-cp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/cp/storage/WxCpInRedisTemplateConfigStorageConfiguration.java +++ b/spring-boot-starters/wx-java-cp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/cp/storage/WxCpInRedisTemplateConfigStorageConfiguration.java @@ -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); } diff --git a/spring-boot-starters/wx-java-cp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/cp/storage/WxCpInRedissonConfigStorageConfiguration.java b/spring-boot-starters/wx-java-cp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/cp/storage/WxCpInRedissonConfigStorageConfiguration.java index 6f3273006..060b894fd 100644 --- a/spring-boot-starters/wx-java-cp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/cp/storage/WxCpInRedissonConfigStorageConfiguration.java +++ b/spring-boot-starters/wx-java-cp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/cp/storage/WxCpInRedissonConfigStorageConfiguration.java @@ -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); }