ss
doum
2025-09-19 61247957fe4d94591e37d75eda6889f06c0cb9c1
server/src/main/resources/application-dev.yml
@@ -4,9 +4,9 @@
spring:
  # 数据源配置
  datasource:
    url: jdbc:mysql://57b57595ddc66.sh.cdb.myqcloud.com:4464/dmtt_run?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
    username: test
    password: doumee@168
    url: jdbc:mysql://192.168.0.211:3306/dmtt_run?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
    username: root
    password: Doumee@168
    driver-class-name: com.mysql.cj.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
  redis:
@@ -18,7 +18,17 @@
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
#  mail:
  freemarker:
    cache: false  #关闭模板缓存,方便测试
    settings:
      template_update_delay: 0 #检查模板更新延迟时间,设置为0表示立即检查,如果时间大于0会有缓存不方便进行模板测试
    suffix: .html             #指定Freemarker模板文件的后缀名
    #    template-loader-path: classpath:/templates #指定模板文件所在的路径
    template-loader-path:
        - file:D:/code/idea2023/git/dmttwebsit/server/src/main/resources/templates #指定模板文件所在的路径
        - file:D:/code/idea2023/git/dmttwebsit/server/src/main/resources/templates/mobile
  #  mail:
#    username: jiangping0849@outlook.com
#    password: mwzaislgioyhxnig
#    host: smtp-mail.outlook.com