server:
|
port: 5003
|
|
spring:
|
application:
|
name: DISPATCH-SERVER
|
profiles:
|
active: dev
|
mvc:
|
static-path-pattern: /static/**
|
view:
|
prefix: /WEB-INF/view
|
devtools:
|
restart:
|
enabled: false
|
additional-paths: src/main/java
|
exclude: static/**,WEB-INF/view/**
|
servlet:
|
multipart:
|
max-request-size: 100MB
|
max-file-size: 100MB
|
|
guns:
|
swagger-open: true #是否开启swagger (true/false)
|
kaptcha-open: false #是否开启登录时验证码 (true/false)
|
# file-upload-path: d:/tmp #文件上传目录(不配置的话为java.io.tmpdir目录)
|
spring-session-open: false #是否开启spring session,如果是多机环境需要开启(true/false)
|
session-invalidate-time: 1800 #session失效时间(只在单机环境下生效,多机环境在SpringSessionConfig类中配置) 单位:秒
|
session-validation-interval: 900 #多久检测一次失效的session(只在单机环境下生效) 单位:秒
|
|
|
mybatis-plus:
|
typeAliasesPackage: com.stylefeng.guns.modular.system.model
|
|
log:
|
path: guns-logs
|
|
#配置Swagger接口扫描范围
|
swagger:
|
base-package: com.stylefeng.guns.modular
|
|
|
wx:
|
grantType: authorization_code #填authorization_code
|
appid: wx36c966d381cd5d62 #应用唯一标识,在微信开放平台提交应用审核通过后获得
|
appSecret: cf4b21c7175356f41fa3c426f26c20e4 #应用密钥AppSecret,在微信开放平台提交应用审核通过后获得
|
appletsAppid: wx7608ef3dae49b691 #小程序APPid
|
appletsAppSecret: 8ea5529ad9bc9703557ebfd6a95299f6 #
|
mchId: 1593080081 #微信支付分配的商户号
|
key: JnhREmZwHNKyFUQPEhijp1gdaCUzKg8P #key为商户平台设置的密钥key:
|
|
alipay:
|
appid: 1 #应用程序唯一标识
|
appPrivateKey: 1 #开发者应用私钥
|
alipayPublicKey: 1 #应用公钥
|
alipay_public_key: 1 #支付宝公钥
|
|
juhe: #聚合数据
|
appKey: 943b175324b6e6c0a6f9c6713aaaa696 #
|
|
|
#filePath: /usr/local/server/orderPostionFile/ #存储订单轨迹文件路径
|
filePath: C:/orderPostionFile/ #存储订单轨迹文件路径
|
|
|
|
#支付回调地址
|
#正式环境
|
#callbackPath: https://okyueche.com:443/dispatch
|
#正式测试环境
|
callbackPath: http://8.130.76.108:5000/dispatch
|
|
|
#交通部推送数据功能开关
|
pushMinistryOfTransport: false
|
|
jiguang:
|
masterSecret: fca87938cb39a72360ea3293
|
appKey: 7eecaa0ce660780f4b364684
|
|
|
|
|
|
---
|
spring:
|
profiles: dev
|
datasource:
|
url: jdbc:mysql://8.130.76.108:10011/tianma?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
username: root
|
password: kuanzhaiyx
|
db-name: tianma #用来搜集数据库的所有表
|
filters: wall,mergeStat
|
#多数据源情况的配置
|
guns:
|
muti-datasource:
|
open: false
|
url: jdbc:mysql://127.0.0.1:3306/kuanzhaiyx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
|
username: root
|
# password: Root2020!
|
password: 123456
|
dataSourceNames:
|
- dataSourceGuns
|
- dataSourceBiz
|
eureka:
|
client:
|
service-url: #注册中心地址
|
defaultZone: http://sinata:sinata@127.0.0.1:8081/eureka #启用身份验证的方式连接
|
register-with-eureka: true #在注册中心进行注册
|
fetch-registry: true #从Eureka中获取注册信息。
|
---
|
spring:
|
profiles: prod
|
datasource:
|
url: jdbc:mysql://8.130.76.108:10011/tianma?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
username: root
|
password: kuanzhaiyx
|
db-name: tianma #用来搜集数据库的所有表
|
filters: wall,mergeStat
|
#多数据源情况的配置
|
guns:
|
muti-datasource:
|
open: false
|
url: jdbc:mysql://122.9.140.208:10010/kuanzhaiyx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
|
username: root
|
# password: Root2020!
|
password: 123456
|
dataSourceNames:
|
- dataSourceGuns
|
- dataSourceBiz
|
eureka:
|
client:
|
service-url: #注册中心地址
|
defaultZone: http://sinata:sinata@172.17.0.7:8081/eureka #启用身份验证的方式连接
|
register-with-eureka: true #在注册中心进行注册
|
fetch-registry: true #从Eureka中获取注册信息。
|
---
|