feige
2025-11-12 cda6b187433a6022654dedd248674450c63101ad
ruoyi-admin/src/main/resources/application.yml
@@ -24,7 +24,7 @@
    key-store: classpath:www.bendudu.com.pfx
    # “.pfx”证书对应格式,“.jks"证书对应“RSA”
    key-store-type: PKCS12
    key-store-password: tc6h7mav
    key-store-password: uns191i1
    #key-password: 私钥密码
  servlet:
@@ -59,7 +59,7 @@
spring:
  #es配置
  elasticsearch:
    host: 47.93.189.255
    host: localhost
    port: 8087
  # 资源信息
  messages:
@@ -102,6 +102,24 @@
        max-active: 8
        # #连接池最大阻塞等待时间(使用负值表示没有限制)
        max-wait: -1ms
  #邮箱配置
  mail:
    host: smtp.qq.com
    port: 587
    #邮箱
    username: 3224414357@qq.com
    #授权码
    password: wmsreabbwlmacjhe
    protocol: smtp
    properties:
#      mail.debug: true
      mail.smtp.auth: true
      mail.smtp.starttls.enable: true
      mail.smtp.starttls.required: true
      mail.smtp.ehlo: true # 关键修复
      mail.smtp.ssl.trust: smtp.qq.com
      mail.smtp.ssl.protocols: TLSv1.2
    default-encoding: UTF-8
# token配置
token:
@@ -144,3 +162,18 @@
  # 匹配链接
  urlPatterns: /system/*,/monitor/*,/tool/*
#腾讯云
tencent:
  cos:
    secret-id: AKID3ykKitsgIkz2tY0EE3g6IWcWDi087tse       # 替换为实际SecretId
    secret-key: d4NckmibQApMvIRcbNwHOIyQdoxyvjLj    # 替换为实际SecretKey
    bucket-name: bendudu-bucket-1325664559  # 存储桶名称
    region: ap-guangzhou            # 存储桶地域
    base-url: https://bendudu-bucket-1325664559.cos.ap-guangzhou.myqcloud.com # 访问基础URL