zqy
2 天以前 cedaeeed6d401aefebf93ea6ea21cc9e06d5f5db
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: 5yheh725
    key-store-password: uns191i1
    #key-password: 私钥密码
  servlet:
@@ -59,13 +59,13 @@
spring:
  #es配置
  elasticsearch:
    host: 47.93.189.255
    host: localhost
    port: 8087
  # 资源信息
  messages:
    # 国际化资源文件路径
    basename: i18n/messages
  profiles:
  profiles:
    active: druid
  # 文件上传
  servlet:
@@ -102,6 +102,28 @@
        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
    # 特定模块的缓存过期时间
    cache:
      cache-names:
        economy_search: 1800       # economy_search缓存1小时
# token配置
token:
@@ -111,7 +133,7 @@
    secret: abcdefghijklmnopqrstuvwxyz
    # 令牌有效期(默认30分钟)
    expireTime: 100
# MyBatis配置
mybatis-plus:
    # 搜索指定包别名
@@ -122,7 +144,7 @@
#    configLocation: classpath:mybatis/mybatis-config.xml
# PageHelper分页插件
pagehelper:
pagehelper:
  helperDialect: mysql
  supportMethodsArguments: true
  params: count=countSql
@@ -147,8 +169,15 @@
#腾讯云
tencent:
  cos:
    secret-id: AKIDOelfP1QbZJq9E5j9LI2YptwlNlvsbBf0       # 替换为实际SecretId
    secret-key: DCxVpvnRt89wVs2ygATYZWOMFzXtAHB3    # 替换为实际SecretKey
    bucket-name: examplebucket-22222-1346631008  # 存储桶名称
    secret-id: AKID3ykKitsgIkz2tY0EE3g6IWcWDi087tse       # 替换为实际SecretId
    secret-key: d4NckmibQApMvIRcbNwHOIyQdoxyvjLj    # 替换为实际SecretKey
    bucket-name: bendudu-bucket-1325664559  # 存储桶名称
    region: ap-guangzhou            # 存储桶地域
    base-url: https://examplebucket-22222-1346631008.cos.ap-guangzhou.myqcloud.com # 访问基础URL
    base-url: https://bendudu-bucket-1325664559.cos.ap-guangzhou.myqcloud.com # 访问基础URL