peng
2025-11-06 1a7a278e32123023fa43bdaa274da778c27b80a0
config/application.yml
@@ -29,9 +29,10 @@
    type: redis
  # Redis
  redis:
    host: 42.193.1.25
    host: 127.0.0.1
#    host: 42.193.1.25
    port: 6379
    password: ycl2018
#    password: ycl2018
    database: 12
    lettuce:
      pool:
@@ -61,11 +62,13 @@
      default-datasource:
        type: com.alibaba.druid.pool.DruidDataSource
        driverClassName: com.mysql.cj.jdbc.Driver
        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://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: 321$YcYl@1970!
#        password: 123456
#        password: 321$YcYl@1970!
#        password: 6c701c021355fc70fc156824e81fbead
        password: 123456
        maxActive: 50
        initialSize: 20
        maxWait: 60000
@@ -177,7 +180,7 @@
    #缓存开启
    cache-enabled: true
    #日志
#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  #    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  global-config:
    db-config:
      #逻辑删除配置字段
@@ -222,10 +225,10 @@
    faultTolerant: 3
  system:
    isDemoSite: false
  #     脱敏级别:
  #     0:不做脱敏处理
  #     1:管理端用户手机号等信息脱敏
  #     2:商家端信息脱敏(为2时,表示管理端,商家端同时脱敏)
    #     脱敏级别:
    #     0:不做脱敏处理
    #     1:管理端用户手机号等信息脱敏
    #     2:商家端信息脱敏(为2时,表示管理端,商家端同时脱敏)
    sensitiveLevel: 1
  statistics:
@@ -286,6 +289,8 @@
      comment-group: lmk_comment_group
      video-topic: lmk_video_topic  # 视频
      video-group: lmk_video_group
      prize-topic: lmk_prize_topic  # 抽奖
      prize-group: lmk_prize_group
      msg-ext-topic: shop_lili_msg_topic
      msg-ext-group: shop_lili_msg_group
      goods-topic: shop_lili_goods_topic
@@ -328,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
@@ -354,3 +360,8 @@
    - cos:UploadPartCopy
  resources: # 能操作哪些资源
    - qcs::cos::uid/1356772813:lmk-1356772813/*
cdn:
    secretId: AKIDhIqIbhrwsfJm397vhLp570iEZheQ0OYX
    secretKey: pQnyzmS4aCi9Skz2tWyFLG0Xu64saBcs
    cdnDomain: https://media.meiyikuang.com