guigu-oa-parent/service-oa/src/main/resources/application-dev.yml
2023-10-16 21:30:19 +08:00

54 lines
2.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server:
port: 8800
mybatis-plus:
configuration:
# 查看日志
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath:com/atguigu/*/mapper/xml/*.xml
spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://82.157.68.223:3306/guigu-oa?useSSL=false&useUnicode=true&characterEncoding=utf8&allowPublicKeyRetrieval=true
username: admin
password: admin
# url: jdbc:mysql://localhost:3306/guigu-oa?useSSL=false&useUnicode=true&characterEncoding=utf8&allowPublicKeyRetrieval=true
# username: root
# password: root
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
redis:
host: 82.157.68.223
port: 6379
database: 1
timeout: 1800000
password:
jedis:
pool:
max-active: 20 #最大连接数
max-wait: -1 #最大阻塞等待时间(负数表示没限制)
max-idle: 5 #最大空闲
min-idle: 0 #最小空闲
activiti:
# false:默认,数据库表不变,但是如果版本不对或者缺失表会抛出异常(生产使用)
# true:表不存在,自动创建(开发使用)
# create_drop: 启动时创建,关闭时删除表(测试使用)
# drop_create: 启动时删除表,在创建表 (不需要手动关闭引擎)
database-schema-update: true
#监测历史表是否存在activities7默认不开启历史表
db-history-used: true
#none不保存任何历史数据流程中这是最高效的
#activity只保存流程实例和流程行为
#audit除了activity还保存全部的流程任务以及其属性audit为history默认值
#full除了audit、还保存其他全部流程相关的细节数据包括一些流程参数
history-level: full
#校验流程文件默认校验resources下的process 文件夹的流程文件
check-process-definitions: true
wechat:
mpAppId: wxb9fd95abd9f4053f
mpAppSecret: 34609f69a07dde17631c78bb912450b2
# 授权回调获取用户信息接口地址
userInfoUrl: http://hhdxw.free.idcfengye.com/admin/wechat/userInfo