peng
4 天以前 b59026c7fba944cf4b4d2d8ec3e65690e36e2b72
完成小程序商户端查看订单发货查看物流
1个文件已修改
169 ■■■■ 已修改文件
consumer/src/main/resources/application.yml 169 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
consumer/src/main/resources/application.yml
@@ -4,6 +4,9 @@
  servlet:
    context-path: /
  # 正式部署时候,解开此处配置,防止文件夹被清除导致的文件上传失败问题
  #    multipart:
  #      location: /Users/lifenlong/Desktop/ceshi
  tomcat:
    uri-encoding: UTF-8
    threads:
@@ -22,6 +25,8 @@
      exposure:
        include: '*'
spring:
  application:
    name: consumer
  # 要在其中注册的Spring Boot Admin Server的URL。
  boot:
    admin:
@@ -31,10 +36,9 @@
    type: redis
  # Redis
  redis:
    host: 42.193.1.25
    host: 127.0.0.1
    port: 6379
    password: ycl2018
    database: 12
    #    password: lilishop
    lettuce:
      pool:
        # 连接池最大连接数(使用负值表示没有限制) 默认 8
@@ -63,13 +67,11 @@
      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&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
        username: root
        password: 321$YcYl@1970!
        #        password: 123456
        maxActive: 50
        initialSize: 20
        password: 123456
        maxActive: 20
        initialSize: 5
        maxWait: 60000
        minIdle: 5
        timeBetweenEvictionRunsMillis: 60000
@@ -109,7 +111,7 @@
    props:
      #是否打印逻辑SQL语句和实际SQL语句,建议调试时打印,在生产环境关闭
      sql:
        show: true
        show: false
# 忽略鉴权url
ignored:
@@ -120,42 +122,33 @@
    - /MP_verify_qSyvBPhDsPdxvOhC.txt
    - /weixin/**
    - /source/**
    - /store/passport/login/**
    - /store/passport/login/refresh/**
    - /common/common/slider/**
    - /common/common/sms/**
    - /common/common/site
    - /buyer/payment/cashier/**
    - /buyer/other/pageData/**
    - /buyer/other/article/**
    - /buyer/mini-program/**
    - /buyer/cashier/**
    - /buyer/pageData/**
    - /buyer/article/**
    - /buyer/goods/**
    - /buyer/store/**
    - /buyer/passport/connect/**
    - /buyer/members/**
    - /buyer/passport/member/**
    - /buyer/passport/member/refresh/**
    - /buyer/promotion/pintuan/**
    - /buyer/promotion/seckill/**
    - /buyer/promotion/pointsGoods/**
    - /buyer/promotion/coupon
    - /buyer/member/evaluation/**/goodsEvaluation
    - /buyer/member/evaluation/**/evaluationNumber
    - /buyer/other/appVersion/**
    - /buyer/broadcast/studio/**
    - /manager/passport/user/login
    - /manager/passport/user/refresh/**
    - /manager/other/elasticsearch
    - /manager/other/customWords
    - /buyer/category/**
    - /buyer/shop/**
    - /buyer/connect/**
    - /buyer/members/smsLogin
    - /buyer/members/refresh/*
    - /buyer/members/refresh**
    - /buyer/promotion/pintuan
    - /buyer/promotion/seckill
    - /buyer/memberEvaluation/**/goodsEvaluation
    - /buyer/memberEvaluation/**/evaluationNumber
    - /store/login/**
    - /manager/user/login
    - /manager/user/refresh/**
    - /druid/**
    - /swagger-ui.html
    - /doc.html
    - /swagger-resources/**
    - /swagger/**
    - /webjars/**
    - /v2/api-docs**
    - /v2/api-docs
    - /configuration/ui
    - /boot-admin
    - /manager/promotion/seckill/init
    - /**/*.js
    - /**/*.css
    - /**/*.png
@@ -163,9 +156,9 @@
# Swagger界面内容配置
swagger:
  title: lilishop API接口文档
  description: lilishop Api Documentation
  version: 4.2.2
  title: lili API接口文档
  description: lili Api Documentation
  version: 1.0.0
  termsOfServiceUrl: https://pickmall.cn
  contact:
    name: lili
@@ -174,31 +167,24 @@
# Mybatis-plus
mybatis-plus:
  mapper-locations: classpath*:mapper/**/*.xml
  mapper-locations: classpath*:mapper/*.xml
  configuration:
    #缓存开启
    cache-enabled: true
    #日志
  #    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  global-config:
    db-config:
      #逻辑删除配置字段
      logic-delete-field: deleteFlag
      #逻辑删除配置字段 1 删除
      logic-delete-value: 1
      #逻辑删除配置字段 0 不删除
      logic-not-delete-value: 0
#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# 日志
logging:
  config: classpath:logback-spring.xml
  # 输出级别
  level:
    cn.lili: info
    root: info
  #    org.hibernate: debug
  #    org.springframework: debug
  file:
    # 指定路径
    path: logs
    path: lili-logs
  logback:
    rollingpolicy:
      # 最大保存天数
@@ -210,26 +196,9 @@
  encryptor:
    password: lili
lili:
  #验证码设置
  verification-code:
    #图形验证码有效时间 秒 包含滑块验证码有效时间, 以及验证通过之后,缓存中存储的验证结果有效时间
    effectiveTime: 300
    #水印
    watermark: 绿满筐
    #干扰项数量 最大2 默认0
    interfereNum: 1
    #允许误差像素
    faultTolerant: 3
  system:
    isDemoSite: false
    #     脱敏级别:
    #     0:不做脱敏处理
    #     1:管理端用户手机号等信息脱敏
    #     2:商家端信息脱敏(为2时,表示管理端,商家端同时脱敏)
    sensitiveLevel: 1
    isDemoSite: true
  statistics:
    # 在线人数统计 X 小时。这里设置48,即统计过去48小时每小时在线人数
    onlineMember: 48
@@ -241,21 +210,21 @@
    sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
  #域名
  domain:
    pc: http://127.0.0.1:8888
    wap: http://127.0.0.1:8888
    seller: http://127.0.0.1:8888
    admin: http://127.0.0.1:8888
    pc: https://pc.b2b2c.pickmall.cn
    wap: https://m.b2b2c.pickmall.cn
    store: https://store.b2b2c.pickmall.cn
    admin: https://admin.b2b2c.pickmall.cn
  #api地址
  api:
    buyer: https://z171l91606.51mypc.cn
    base: http://127.0.0.1:8888
    manager: http://127.0.0.1:8888
    seller: http://127.0.0.1:8888
    buyer: https://buyer-api.pickmall.cn
    common: https://common-api.pickmall.cn
    manager: https://admin-api.pickmall.cn
    store: https://store-api.pickmall.cn
  # jwt 细节设定
  jwt-setting:
    # token过期时间(分钟)
    tokenExpireTime: 360
    tokenExpireTime: 60
  # 使用Spring @Cacheable注解失效时间
  cache:
@@ -278,14 +247,9 @@
    #      account:
    #        username: elastic
    #        password: LiLiShopES
    #    logstash:
    #      server: 127.0.0.1:30560
    #      server: 127.0.0.1:4560
    rocketmq:
      comment-topic: lmk_comment_topic  # 评论
      comment-group: lmk_comment_group
      video-topic: lmk_video_topic  # 视频
      video-group: lmk_video_group
      promotion-topic: lili_promotion_topic
      promotion-group: lili_promotion_group
      msg-ext-topic: lili_msg_topic
@@ -308,7 +272,6 @@
      after-sale-group: lili_after_sale_group
rocketmq:
  name-server: 127.0.0.1:9876
  isVIPChannel: false
  producer:
    group: lili_group
    send-message-timeout: 30000
@@ -324,37 +287,3 @@
      port: 8848
      logpath: ./xxl-job/executor
      logretentiondays: 7
# 腾讯cos-sts配置
cos:
  secretId: AKID6zd07yZtwjFVVGkxvc2C5h26uTmpc9QQ  # 腾讯ARM用户的secretId
  secretKey: lFTcV6RVIo43lCMFsEKAk36tRjlVzC8n  # 腾讯ARM用户的secretKey
  durationSeconds: 1800  # STS临时访问凭证有效期,单位秒,默认1800s,主账号最长2小时,子账号(ARM用户)36小时
  bucket: lmk-1356772813
  region: ap-chengdu
  endpoint: https://lmk-1356772813.cos.ap-chengdu.myqcloud.com  # 访问域名
  urlExpireMinute: 360  # 预签名url有效时间(分钟)
  actions:  # sts的权限
    - cos:GetBucketACL
    - cos:GetObject
    - cos:GetObjectACL
    - cos:GetObjectTagging
    - cos:HeadObject
    - cos:ListMultipartUploads
    - cos:ListParts
    - cos:AbortMultipartUpload
    - cos:AppendObject
    - cos:CompleteMultipartUpload
    - cos:DeleteMultipleObjects
    - cos:DeleteObject
    - cos:InitiateMultipartUpload
    - cos:PostObject
    - cos:PutObject
    - cos:PutObjectACL
    - cos:PutObjectCopy
    - cos:PutObjectTagging
    - cos:RenameObject
    - cos:UploadPart
    - cos:UploadPartCopy
  resources: # 能操作哪些资源
    - qcs::cos::uid/1356772813:lmk-1356772813/*