spring-boot-starters/wx-java-open-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/open/config/WxOpenStorageAutoConfiguration.javaZobrazit soubor
@@ -49,11 +49,11 @@ public class WxOpenStorageAutoConfiguration {
return getWxOpenInRedisConfigStorage();
}
if (type == WxOpenProperties.StorageType.jedis){
if (type == WxOpenProperties.StorageType.jedis){
return getWxOpenInRedisConfigStorage();
}
if (type == WxOpenProperties.StorageType.redisson){
if (type == WxOpenProperties.StorageType.redisson){
return getWxOpenInRedissonConfigStorage();
}
return getWxOpenInMemoryConfigStorage();
@@ -61,7 +61,7 @@ public class WxOpenStorageAutoConfiguration {
spring-boot-starters/wx-java-open-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/open/properties/WxOpenProperties.javaZobrazit soubor
@@ -53,6 +53,8 @@ public class WxOpenProperties {
private RedisProperties redis = new RedisProperties();
private String keyPrefix;
}
public enum StorageType {
+ 11- 0
weixin-java-common/src/main/java/me/chanjar/weixin/common/error/WxMaErrorMsgEnum.javaZobrazit soubor
@@ -452,6 +452,17 @@ public enum WxMaErrorMsgEnum {