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

完善说明~

上级 916a63fc
## 说明
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 | 公众号的配置 | 多公众号配置 |
......
......@@ -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>
......
package com.example.demo;
import net.dreamlu.weixin.annotation.EnableWeixin;
import net.dreamlu.weixin.annotation.EnableDreamWeixin;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
@SpringBootApplication
@EnableWeixin
@EnableDreamWeixin
@EnableCaching
public class DemoApplication {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册