提交 8432791d 编写于 作者: 如梦技术's avatar 如梦技术 🐛

🔖 2.0.5

上级 93b744bf
...@@ -15,7 +15,7 @@ jfinal weixin 的 spring boot starter,这个starter是为了方便boot用户 ...@@ -15,7 +15,7 @@ jfinal weixin 的 spring boot starter,这个starter是为了方便boot用户
<dependency> <dependency>
<groupId>net.dreamlu</groupId> <groupId>net.dreamlu</groupId>
<artifactId>mica-weixin</artifactId> <artifactId>mica-weixin</artifactId>
<version>2.0.4</version> <version>2.0.5</version>
</dependency> </dependency>
``` ```
...@@ -66,6 +66,9 @@ dream: ...@@ -66,6 +66,9 @@ dream:
- `access-token-cache`建议配置有效时间7100秒。 - `access-token-cache`建议配置有效时间7100秒。
## 更新说明 ## 更新说明
### 2020-12-16 2.0.5
- 升级 jfinal-weixin 到 2.9,修复素材下载流被关闭的问题。
### 2020-12-13 2.0.4 ### 2020-12-13 2.0.4
- 调整 WxConfigLoader 方便自定义 config 存储更多属性。 - 调整 WxConfigLoader 方便自定义 config 存储更多属性。
......
...@@ -32,13 +32,13 @@ ...@@ -32,13 +32,13 @@
<dependency> <dependency>
<groupId>net.dreamlu</groupId> <groupId>net.dreamlu</groupId>
<artifactId>mica-weixin</artifactId> <artifactId>mica-weixin</artifactId>
<version>2.0.3</version> <version>2.0.5</version>
</dependency> </dependency>
<!-- redis 存储 weixin,可选依赖 --> <!-- redis 存储 weixin,可选依赖 -->
<dependency> <dependency>
<groupId>net.dreamlu</groupId> <groupId>net.dreamlu</groupId>
<artifactId>mica-redis</artifactId> <artifactId>mica-redis</artifactId>
<version>2.0.7-GA</version> <version>2.1.0-GA</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
......
package com.example.demo; package com.example.demo;
import net.dreamlu.weixin.config.WxConf; import com.jfinal.weixin.sdk.api.ApiConfig;
import com.jfinal.wxaapp.WxaConfig;
import net.dreamlu.weixin.config.WxConfigLoader; import net.dreamlu.weixin.config.WxConfigLoader;
import net.dreamlu.weixin.config.WxaConf;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import java.util.Collections; import java.util.Collections;
...@@ -17,8 +17,8 @@ import java.util.List; ...@@ -17,8 +17,8 @@ import java.util.List;
public class WxConfigDatabaseLoader implements WxConfigLoader { public class WxConfigDatabaseLoader implements WxConfigLoader {
@Override @Override
public List<WxConf> loadWx() { public List<ApiConfig> loadWx() {
WxConf wxConf = new WxConf(); ApiConfig wxConf = new ApiConfig();
wxConf.setAppId("wxc03edcd008ad1e70"); wxConf.setAppId("wxc03edcd008ad1e70");
wxConf.setAppSecret("11ed9e2b8e3e3c131e7be320a42b2b5a"); wxConf.setAppSecret("11ed9e2b8e3e3c131e7be320a42b2b5a");
wxConf.setToken("123456"); wxConf.setToken("123456");
...@@ -26,7 +26,7 @@ public class WxConfigDatabaseLoader implements WxConfigLoader { ...@@ -26,7 +26,7 @@ public class WxConfigDatabaseLoader implements WxConfigLoader {
} }
@Override @Override
public List<WxaConf> loadWxa() { public List<WxaConfig> loadWxa() {
return Collections.emptyList(); return Collections.emptyList();
} }
} }
...@@ -5,7 +5,7 @@ ext { ...@@ -5,7 +5,7 @@ ext {
javaVersion = JavaVersion.VERSION_1_8 javaVersion = JavaVersion.VERSION_1_8
springBootVersion = "2.3.4.RELEASE" springBootVersion = "2.3.4.RELEASE"
jfinalVersion = "4.9.05" jfinalVersion = "4.9.05"
jfinalWeixinVersion = "2.8" jfinalWeixinVersion = "2.9"
okhttpVersion = "3.14.9" okhttpVersion = "3.14.9"
micaAutoVersion = "1.2.5" micaAutoVersion = "1.2.5"
lombokVersion = "1.18.12" lombokVersion = "1.18.12"
......
VERSION=2.0.4 VERSION=2.0.5
GROUPID=net.dreamlu GROUPID=net.dreamlu
userName=chunmeng userName=chunmeng
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册