|
@@ -79,7 +79,8 @@ spring:
|
|
|
instanceId: AUTO # 自动生成 instance ID
|
|
|
# JobStore 相关配置
|
|
|
jobStore:
|
|
|
- class: org.quartz.impl.jdbcjobstore.JobStoreTX # JobStore 实现类
|
|
|
+ # JobStore 实现类。可见博客:https://blog.csdn.net/weixin_42458219/article/details/122247162
|
|
|
+ class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
|
|
|
isClustered: true # 是集群模式
|
|
|
clusterCheckinInterval: 15000 # 集群检查频率,单位:毫秒。默认为 15000,即 15 秒
|
|
|
misfireThreshold: 60000 # misfire 阀值,单位:毫秒。
|
|
@@ -149,6 +150,18 @@ logging:
|
|
|
file:
|
|
|
name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径
|
|
|
|
|
|
+--- #################### 微信公众号相关配置 ####################
|
|
|
+wx: # 参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档
|
|
|
+ mp:
|
|
|
+ # 公众号配置(必填)
|
|
|
+ app-id: wx041349c6f39b268b
|
|
|
+ secret: 5abee519483bc9f8cb37ce280e814bd0
|
|
|
+ # 存储配置,解决 AccessToken 的跨节点的共享
|
|
|
+ config-storage:
|
|
|
+ type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取
|
|
|
+ key-prefix: wx # Redis Key 的前缀 TODO 芋艿:解决下 Redis key 管理的配置
|
|
|
+ http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台
|
|
|
+
|
|
|
--- #################### 芋道相关配置 ####################
|
|
|
|
|
|
# 芋道配置项,设置当前项目所有自定义的配置
|