peng
2025-10-17 816e55319e40edd17e8c5776f44a3e417a0edc01
config/application.yml
@@ -32,11 +32,7 @@
    host: 127.0.0.1
#    host: 42.193.1.25
    port: 6379
#    password: MuKang2025
#    host: 1.95.67.54
#    #    host: 42.193.1.25
#    port: 9736
#    password: myk2025redis
#    password: ycl2018
    database: 12
    lettuce:
      pool:
@@ -66,12 +62,13 @@
      default-datasource:
        type: com.alibaba.druid.pool.DruidDataSource
        driverClassName: com.mysql.cj.jdbc.Driver
        url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
#        url: jdbc:mysql://42.193.1.25:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
        url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
#        url: jdbc:mysql://1.95.67.54:6033/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
        username: root
        password: 123456
#        url: jdbc:mysql://1.95.67.54:6033/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
#        username: root
#        password: 321$YcYl@1970!
#        password: 6c701c021355fc70fc156824e81fbead
        password: 123456
        maxActive: 50
        initialSize: 20
        maxWait: 60000
@@ -273,7 +270,7 @@
  data:
    elasticsearch:
      cluster-name: elasticsearch
      cluster-nodes: 1.95.67.54:9200
      cluster-nodes: 127.0.0.1:9200
      index:
        number-of-replicas: 0
        number-of-shards: 3
@@ -283,8 +280,8 @@
    #        username: elastic
    #        password: LiLiShopES
    #    logstash:
    #      server: 127.0.0.1:30560
#    logstash:
#      server: 127.0.0.1:30560
    rocketmq:
      promotion-topic: shop_lili_promotion_topic
      promotion-group: shop_lili_promotion_group
@@ -336,7 +333,8 @@
  durationSeconds: 1800  # STS临时访问凭证有效期,单位秒,默认1800s,主账号最长2小时,子账号(ARM用户)36小时
  bucket: lmk-1356772813
  region: ap-chengdu
  endpoint: https://lmk-1356772813.cos.ap-chengdu.myqcloud.com  # 访问域名
#  endpoint: https://lmk-1356772813.cos.ap-chengdu.myqcloud.com  # 访问域名
  endpoint: https://media.meiyikuang.com  # cdn访问域名
  urlExpireMinute: 360  # 预签名url有效时间(分钟)
  actions:  # sts的权限
    - cos:GetBucketACL