|
@@ -61,6 +61,19 @@ spring:
|
|
|
port: 6379 # 端口
|
|
|
database: 1 # 数据库索引
|
|
|
|
|
|
+ # 工作流 Activiti 配置
|
|
|
+ activiti:
|
|
|
+ #1.false:默认值,activiti启动时,对比数据库表中保存的版本,如果不匹配。将抛出异常
|
|
|
+ #2.true:启动时会对数据库中所有表进行更新操作,如果表存在,不做处理,反之,自动创建表
|
|
|
+ #3.create_drop:启动时自动创建表,关闭时自动删除表
|
|
|
+ #4.drop_create:启动时,删除旧表,再创建新表
|
|
|
+ database-schema-update: true
|
|
|
+ #activiti7默认不生成历史信息表,需手动设置开启
|
|
|
+ db-history-used: true
|
|
|
+ check-process-definitions: true
|
|
|
+ #full:保存历史数据的最高级别,可保存全部流程相关细节,包括流程流转各节点参数
|
|
|
+ history-level: full
|
|
|
+
|
|
|
--- #################### 定时任务相关配置 ####################
|
|
|
|
|
|
# Quartz 配置项,对应 QuartzProperties 配置类
|
|
@@ -167,4 +180,28 @@ yudao:
|
|
|
exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系
|
|
|
- ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求
|
|
|
- ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求
|
|
|
+ pay:
|
|
|
+ pay-notify-url: http://niubi.natapp1.cc/api/pay/order/notify
|
|
|
+ refund-notify-url: http://niubi.natapp1.cc/api/pay/refund/notify
|
|
|
demo: true # 开启演示模式
|
|
|
+
|
|
|
+justauth:
|
|
|
+ enabled: true
|
|
|
+ type:
|
|
|
+ GITEE: # Gitee
|
|
|
+ client-id: ee61f0374a4c6c404a8717094caa7a410d76950e45ff60348015830c519ba5c1
|
|
|
+ client-secret: 7c044a5671be3b051414db0cf2cec6ad702dd298d2416ba24ceaf608e6fa26f9
|
|
|
+ ignore-check-redirect-uri: true
|
|
|
+ DINGTALK: # 钉钉
|
|
|
+ client-id: dingvrnreaje3yqvzhxg
|
|
|
+ client-secret: i8E6iZyDvZj51JIb0tYsYfVQYOks9Cq1lgryEjFRqC79P3iJcrxEwT6Qk2QvLrLI
|
|
|
+ ignore-check-redirect-uri: true
|
|
|
+ WECHAT_ENTERPRISE: # 企业微信
|
|
|
+ client-id: wwd411c69a39ad2e54
|
|
|
+ client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw
|
|
|
+ agent-id: 1000004
|
|
|
+ ignore-check-redirect-uri: true
|
|
|
+ cache:
|
|
|
+ type: REDIS
|
|
|
+ prefix: 'social_auth_state:' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::
|
|
|
+ timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟
|