doum
2025-09-26 9057e04efad1b7d61c77a72e5c37a504d0aee935
server/src/main/resources/application-pro.yml
@@ -5,9 +5,9 @@
spring:
  # 数据源配置
  datasource:
    url: jdbc:mysql://sh-cdb-aiskr3vy.sql.tencentcdb.com:62443/official_website?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
    username: doumee
    password: rtjgfEr@&0c0m
    url: jdbc:mysql://57b57595ddc66.sh.cdb.myqcloud.com:4464/dmtt_run?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
    username: test
    password: doumee@168
    driver-class-name: com.mysql.cj.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
  redis:
@@ -19,6 +19,16 @@
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
  freemarker:
    cache: false  #关闭模板缓存,方便测试
    settings:
      template_update_delay: 0 #检查模板更新延迟时间,设置为0表示立即检查,如果时间大于0会有缓存不方便进行模板测试
    suffix: .html             #指定Freemarker模板文件的后缀名
    #    template-loader-path: classpath:/templates #指定模板文件所在的路径
    template-loader-path:
      - file:D:/apache-tomcat-9.0.106-windows-x64/apache-tomcat-9.0.106/webapps/templates #指定模板文件所在的路径
      - file:D:/apache-tomcat-9.0.106-windows-x64/apache-tomcat-9.0.106/webapps/templates/mobile
  mail:
    host: smtp.aliyun.com
    port: 465
@@ -56,6 +66,3 @@
upload:
  type: blob
qiwei:
  serviceurl: https://wecom-qyapi.unilever-china.com/