MrShi
2025-08-19 ff087240b3dee29ce4e14ad0836e76b9fdf312cf
server/src/main/resources/application-pro.yml
@@ -1,13 +1,17 @@
# WEB服务器配置
project:
  # 环境,生产环境production,开发环境development
  env: production
  # 模式,testing测试模式
  mode: production
server:
  port: 10010
  port: 10040
spring:
  # 数据源配置
  datasource:
    url: jdbc:mysql://sh-cdb-aiskr3vy.sql.tencentcdb.com:62443/lianhelihua_sh?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
    username: doumee
    password: rtjgfEr@&0c0m
    url: jdbc:mysql://solution-cnn3-p-shereport-db-mysql01.mysql.database.chinacloudapi.cn:3306/lianhelihua?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
    username: service_account
    password: vW3&QbcdMSyF
    driver-class-name: com.mysql.cj.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
  redis:
@@ -19,44 +23,64 @@
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
  #  mail:
  #    username: jiangping0849@outlook.com
  #    password: mwzaislgioyhxnig
  #    host: smtp-mail.outlook.com
  #    port: 587
  #    default-encoding: UTF-8
  #    properties:
  #      mail:
  #        debug: true
  #        smtp:
  #          ssl:
  #            socketFactory:
  #              class: com.sun.mail.util.MailSSLSocketFactory
  #              fallback: false
  #          auth: true
  #          starttls:
  #            enable: true
  #            required: true
  mail:
    host: smtp.aliyun.com
    port: 465
    username: your_email@aliyun.com
    password: your_password
    host: smtpdm.aliyun.com
    username: lkshereport@mail.unilever-china.com
    password: f2fLk384RChX
    default-encoding: UTF-8
    port: 80
    properties:
      mail:
        smtp:
          auth: true
          starttls:
            enable: true
            required: true
          ssl:
            enable: true
        starttls:
          enable: true
          required: true
debug_model: true
# Swagger配置
swagger:
  host: 127.0.0.1
  host:
  title: ${project.name}接口文档
  description: ${project.name}接口文档
  # 启用Swagger,生产环境建议关闭
  enabled: true
  context-path:
  # 启用swagger加密
  enable-encrypt: true
  # 禁用swagger时的重定向地址
  redirect-uri: /
des_pwd: 123456SDFKDJF
des_pwd: 123456SDFKDJF
knife4j:
  enable: true
  basic:
    enable: true
    username: admin
    password:
    password: Doumee@168
upload:
  type: blob
qiwei:
  serviceurl: https://wecom-qyapi.unilever-china.com/
  serviceurl: https://wecom-qyapi.unilever-china.com