jiangping
2025-06-17 78a173f85f8a4666d83cf8d900f04dd9f8e3e127
server/service/src/main/resources/application-pro.yml
@@ -13,11 +13,24 @@
spring:
  # 数据源配置
  datasource:
    url: jdbc:mysql://57b57595ddc66.sh.cdb.myqcloud.com:4464/yunyibao?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8
    username: test
    password: doumee@168
    url: jdbc:mysql://rm-bp12tny4ir5b7l65xno.mysql.rds.aliyuncs.com:3306/yyb?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8
    username: yyb
    password: Yyb123456
    driver-class-name: com.mysql.cj.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
  mail:
    default-encoding: UTF-8
    host: smtp.exmail.qq.com
    username: kefu@yyb.red
    password: 5CGaprcdshS7bHaM
    port: 465
    properties:
      mail:
        smtp:
          auth: true
        starttls:
          enable: true
          required: true
  redis:
    #    database: 0
@@ -39,7 +52,6 @@
debug_model: false
captcha_check: true
# Swagger配置
swagger:
@@ -49,3 +61,6 @@
  enabled: true
  # 禁用swagger时的重定向地址
  redirect-uri: /
project:
  imgAuthen: false