# 环境配置 server: port: 9001 servlet: context-path: /api/hongfeng # condition spel: scheduling: false # 定时任务是否执行 multiSource: false # 是否多数据源配置 spring: # database datasource: hikari: connection-init-sql: SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci # SqlServer, Oracle 无需设置类型 driver-class-name: com.mysql.cj.jdbc.Driver username: root password: mu123 url: jdbc:mysql://127.0.0.1:3306/mjava?serverTimezone=Asia/Shanghai&useUnicode=yes&characterEncoding=UTF-8&useSSL=true # 主库 primary: username: root password: mu123 jdbc-url: jdbc:mysql://127.0.0.1:3306/mjava?serverTimezone=Asia/Shanghai&useUnicode=yes&characterEncoding=UTF-8&useSSL=true # 从库 slave: username: root password: mu123 jdbc-url: jdbc:mysql://127.0.0.1:3306/mjava_slave?serverTimezone=Asia/Shanghai&useUnicode=yes&characterEncoding=UTF-8&useSSL=true jpa: hibernate: ddl-auto: none # JPA对表没有任何操作 show-sql: true database: MYSQL database-platform: org.hibernate.dialect.MySQL57Dialect # filepath file: path: file: /Users/malk/server/_Tool/var/mjava/tmp/file/ image: /Users/malk/server/_Tool/var/mjava/tmp/image/ tmp: /Users/malk/server/_Tool/var/mjava/tmp/ source: fonts: /Users/malk/server/_Tool/fonts/simsun.ttc logging: file: path: /Users/malk/server/_Tool/var/mjava/log # dingtalk dingtalk: agentId: appKey: dingwucwzoklmsoeilhs appSecret: jtRFRosFr0DCN8XWRnco_zFVETBMqEs7tTMaJcznTJJYoh0VcLdHgxbyABVW-DNK corpId: ding9fccaae9cab903dbf5bf40eda33b7ba0 aesKey: token: operator: "" # OA管理员账号 # aliwork aliwork: appType: APP_DEBW3QRX4VB52DKXD5IA systemToken: TL866181KMTAV5TEDV37X6VDTH692GIJMYPHL0