Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
mica
mica-weixin
提交
8432791d
M
mica-weixin
项目概览
mica
/
mica-weixin
通知
8
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mica-weixin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
8432791d
编写于
12月 16, 2020
作者:
如梦技术
🐛
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
🔖
2.0.5
上级
93b744bf
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
13 addition
and
10 deletion
+13
-10
README.md
README.md
+4
-1
mica-weixin-demo/pom.xml
mica-weixin-demo/pom.xml
+2
-2
mica-weixin-demo/src/main/java/com/example/demo/WxConfigDatabaseLoader.java
...rc/main/java/com/example/demo/WxConfigDatabaseLoader.java
+5
-5
mica-weixin/build.gradle
mica-weixin/build.gradle
+1
-1
mica-weixin/gradle.properties
mica-weixin/gradle.properties
+1
-1
未找到文件。
README.md
浏览文件 @
8432791d
...
...
@@ -15,7 +15,7 @@ jfinal weixin 的 spring boot starter,这个starter是为了方便boot用户
<dependency>
<groupId>
net.dreamlu
</groupId>
<artifactId>
mica-weixin
</artifactId>
<version>
2.0.
4
</version>
<version>
2.0.
5
</version>
</dependency>
```
...
...
@@ -66,6 +66,9 @@ dream:
-
`access-token-cache`
建议配置有效时间7100秒。
## 更新说明
### 2020-12-16 2.0.5
-
升级 jfinal-weixin 到 2.9,修复素材下载流被关闭的问题。
### 2020-12-13 2.0.4
-
调整 WxConfigLoader 方便自定义 config 存储更多属性。
...
...
mica-weixin-demo/pom.xml
浏览文件 @
8432791d
...
...
@@ -32,13 +32,13 @@
<dependency>
<groupId>
net.dreamlu
</groupId>
<artifactId>
mica-weixin
</artifactId>
<version>
2.0.
3
</version>
<version>
2.0.
5
</version>
</dependency>
<!-- redis 存储 weixin,可选依赖 -->
<dependency>
<groupId>
net.dreamlu
</groupId>
<artifactId>
mica-redis
</artifactId>
<version>
2.
0.7
-GA
</version>
<version>
2.
1.0
-GA
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
mica-weixin-demo/src/main/java/com/example/demo/WxConfigDatabaseLoader.java
浏览文件 @
8432791d
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.WxaConf
;
import
org.springframework.context.annotation.Configuration
;
import
java.util.Collections
;
...
...
@@ -17,8 +17,8 @@ import java.util.List;
public
class
WxConfigDatabaseLoader
implements
WxConfigLoader
{
@Override
public
List
<
WxConf
>
loadWx
()
{
WxConf
wxConf
=
new
WxConf
();
public
List
<
ApiConfig
>
loadWx
()
{
ApiConfig
wxConf
=
new
ApiConfig
();
wxConf
.
setAppId
(
"wxc03edcd008ad1e70"
);
wxConf
.
setAppSecret
(
"11ed9e2b8e3e3c131e7be320a42b2b5a"
);
wxConf
.
setToken
(
"123456"
);
...
...
@@ -26,7 +26,7 @@ public class WxConfigDatabaseLoader implements WxConfigLoader {
}
@Override
public
List
<
WxaConf
>
loadWxa
()
{
public
List
<
WxaConf
ig
>
loadWxa
()
{
return
Collections
.
emptyList
();
}
}
mica-weixin/build.gradle
浏览文件 @
8432791d
...
...
@@ -5,7 +5,7 @@ ext {
javaVersion
=
JavaVersion
.
VERSION_1_8
springBootVersion
=
"2.3.4.RELEASE"
jfinalVersion
=
"4.9.05"
jfinalWeixinVersion
=
"2.
8
"
jfinalWeixinVersion
=
"2.
9
"
okhttpVersion
=
"3.14.9"
micaAutoVersion
=
"1.2.5"
lombokVersion
=
"1.18.12"
...
...
mica-weixin/gradle.properties
浏览文件 @
8432791d
VERSION
=
2.0.
4
VERSION
=
2.0.
5
GROUPID
=
net.dreamlu
userName
=
chunmeng
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录