zhanghua
2025-10-16 60ae989adaef7383522235376ec3f67ad3a8070d
config/application.yml
@@ -29,9 +29,14 @@
    type: redis
  # Redis
  redis:
    host: 42.193.1.25
    host: 127.0.0.1
#    host: 42.193.1.25
    port: 6379
    password: ycl2018
#    password: MuKang2025
#    host: 1.95.67.54
#    #    host: 42.193.1.25
#    port: 9736
#    password: myk2025redis
    database: 12
    lettuce:
      pool:
@@ -61,11 +66,12 @@
      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://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
        username: root
        password: 321$YcYl@1970!
#        password: 123456
        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: 6c701c021355fc70fc156824e81fbead
        maxActive: 50
        initialSize: 20
        maxWait: 60000
@@ -177,7 +183,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 +228,10 @@
    faultTolerant: 3
  system:
    isDemoSite: false
  #     脱敏级别:
  #     0:不做脱敏处理
  #     1:管理端用户手机号等信息脱敏
  #     2:商家端信息脱敏(为2时,表示管理端,商家端同时脱敏)
    #     脱敏级别:
    #     0:不做脱敏处理
    #     1:管理端用户手机号等信息脱敏
    #     2:商家端信息脱敏(为2时,表示管理端,商家端同时脱敏)
    sensitiveLevel: 1
  statistics:
@@ -267,7 +273,7 @@
  data:
    elasticsearch:
      cluster-name: elasticsearch
      cluster-nodes: 127.0.0.1:9200
      cluster-nodes: 1.95.67.54:9200
      index:
        number-of-replicas: 0
        number-of-shards: 3
@@ -277,8 +283,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
@@ -286,6 +292,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
@@ -354,3 +362,8 @@
    - cos:UploadPartCopy
  resources: # 能操作哪些资源
    - qcs::cos::uid/1356772813:lmk-1356772813/*
cdn:
    secretId: AKIDhIqIbhrwsfJm397vhLp570iEZheQ0OYX
    secretKey: pQnyzmS4aCi9Skz2tWyFLG0Xu64saBcs
    cdnDomain: https://media.meiyikuang.com