Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
mica
mica-weixin
提交
ebe4da27
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 搜索 >>
提交
ebe4da27
编写于
3月 31, 2018
作者:
如梦技术
🐛
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
完善说明~
上级
916a63fc
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
5 deletion
+5
-5
README.md
README.md
+2
-2
spring-boot-weixin-demo/pom.xml
spring-boot-weixin-demo/pom.xml
+1
-1
spring-boot-weixin-demo/src/main/java/com/example/demo/DemoApplication.java
...-demo/src/main/java/com/example/demo/DemoApplication.java
+2
-2
未找到文件。
README.md
浏览文件 @
ebe4da27
## 说明
jfinal weixin 的 spring boot starter,这个starter是为了方便boot用户使用。
具体demo请查看:
`spring-boot-weixin-demo`
具体demo请查看:
`spring-boot-weixin-demo`
和
[
JFinal-weixin文档
](
https://gitee.com/jfinal/jfinal-weixin/wikis/pages?title=Home
)
## Jar包依赖
```
xml
...
...
@@ -40,7 +40,7 @@ jfinal weixin 的 spring boot starter,这个starter是为了方便boot用户
| 配置项 | 默认值 | 说明 |
| ----- | ------ | ------ |
| dream.weixin.access-token-cache | dreamWeixinCache | 缓存名,需要开启spring cache |
| dream.weixin.app-id-key | appId |
对
公众号参数名,如:/weixin/wx?appId=xxx |
| dream.weixin.app-id-key | appId |
多
公众号参数名,如:/weixin/wx?appId=xxx |
| dream.weixin.dev-mode | false | 开发模式 |
| dream.weixin.url-patterns | /weixin/
*
| JFinal-weixin 过滤器url前缀 |
| dream.weixin.wx-configs | 公众号的配置 | 多公众号配置 |
...
...
spring-boot-weixin-demo/pom.xml
浏览文件 @
ebe4da27
...
...
@@ -36,7 +36,7 @@
<dependency>
<groupId>
net.dreamlu
</groupId>
<artifactId>
spring-boot-starter-weixin
</artifactId>
<version>
1.
0
.0
</version>
<version>
1.
1
.0
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
spring-boot-weixin-demo/src/main/java/com/example/demo/DemoApplication.java
浏览文件 @
ebe4da27
package
com.example.demo
;
import
net.dreamlu.weixin.annotation.EnableWeixin
;
import
net.dreamlu.weixin.annotation.Enable
Dream
Weixin
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.cache.annotation.EnableCaching
;
@SpringBootApplication
@EnableWeixin
@Enable
Dream
Weixin
@EnableCaching
public
class
DemoApplication
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录