无关风月
7 天以前 b81b7c81f9e5ca2d57f56c4a7f817a44bcbe4dcb
DriverZYTravel/guns-admin/src/main/resources/application.yml
@@ -2,7 +2,7 @@
  port: 8007
guns:
  swagger-open: true              #是否开启swagger (true/false)
  swagger-open: false              #是否开启swagger (true/false)
  kaptcha-open: false             #是否开启登录时验证码 (true/false)
#  file-upload-path: d:/tmp       #文件上传目录(不配置的话为java.io.tmpdir目录)
  spring-session-open: false      #是否开启spring session,如果是多机环境需要开启(true/false)
@@ -13,7 +13,7 @@
  application:
    name: driver-server
  profiles:
    active: @spring.active@
    active: produce
  mvc:
    static-path-pattern: /static/**
    view:
@@ -27,12 +27,18 @@
    multipart:
      max-request-size: 100MB
      max-file-size: 100MB
  redis:
    database: 0
    host: 127.0.0.1
    port: 16379
    password: mPMHThYzlT8DWgl8HLqwPEyPOiHDPPB5
mybatis-plus:
  typeAliasesPackage: com.stylefeng.guns.modular
  configuration:
    log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
log:
  path: guns-logs
eureka:
  client:
@@ -41,24 +47,16 @@
    register-with-eureka: true #在注册中心进行注册
    fetch-registry: true #从Eureka中获取注册信息。
---
#spring:
#  profiles: local
#  datasource:
#    url: jdbc:mysql://Rm-wz9rpe0t74ys3b1h8go.mysql.rds.aliyuncs.com:3306/oktravel?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
#    username: root
#    password: Root2020!
#    db-name: guns #用来搜集数据库的所有表
#    filters: wall,mergeStat
---
################# 测试环境 ###################
spring:
  profiles: local
  datasource:
    url: jdbc:mysql://localhost:3306/feima?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
    url: jdbc:mysql://localhost:3306/zytravel?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: s).iOqINE7Gj
    password: 0KiwEhl6EnIFWNqB7d1FJLWKy9urjvMS
#    password: 123456
    db-name: guns #用来搜集数据库的所有表
    filters: wall,mergeStat
@@ -76,45 +74,14 @@
---
spring:
  profiles: dev
  datasource:
    url: jdbc:mysql://127.0.0.1:3306/guns?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: root
    db-name: guns #用来搜集数据库的所有表
    filters: wall,mergeStat
---
spring:
  profiles: test
  datasource:
    url: jdbc:mysql://127.0.0.1:3306/guns?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: root
    filters: wall,mergeStat
---
spring:
  profiles: produce
  datasource:
      url: jdbc:mysql://127.0.0.1:3306/guns?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
      username: root
      password: root
      filters: wall,mergeStat
---
wx:
  grantType: authorization_code #填authorization_code
  appid: 1 #应用唯一标识,在微信开放平台提交应用审核通过后获得
  appSecret: 1 #应用密钥AppSecret,在微信开放平台提交应用审核通过后获得
  appid: wx6078319d54d38c66 #应用唯一标识,在微信开放平台提交应用审核通过后获得
  appSecret: c3ef243fae93fb0fd093d457ada38b4c #应用密钥AppSecret,在微信开放平台提交应用审核通过后获得
  appletsAppid: #小程序APPid
  appletsAppSecret: #
  mchId: 1602881362 #微信支付分配的商户号
  key: xMCkkqlmQO3VEHwV5BgTSfdMIGZewO5I #key为商户平台设置的密钥key:
  mchId: 1487457552 #微信支付分配的商户号
  key: kkTSfqlmgwOQIGZOdMe3VEHxMCwV5B5I #key为商户平台设置的密钥key:
---
@@ -142,16 +109,16 @@
---
#filePath: /usr/local/server/orderPostionFile/ #存储订单轨迹文件路径
filePath: C:/orderPostionFile/  #存储订单轨迹文件路径
filePath: D:/web/orderPostionFile/  #存储订单轨迹文件路径
#支付回调地址
#正式环境
#callbackPath: https://okyueche.com:443/driver
callbackPath: https://www.zycx.ztrbkj.com:443/driver
#正式测试环境
callbackPath: http://39.108.37.243/driver
#callbackPath: http://39.108.37.243/driver
---
#交通部推送数据功能开关
pushMinistryOfTransport: false
pushMinistryOfTransport: true