server:
|
port: 8007
|
|
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(只在单机环境下生效) 单位:秒
|
|
spring:
|
application:
|
name: driver-server
|
profiles:
|
active: produce
|
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
|
|
mybatis-plus:
|
typeAliasesPackage: com.stylefeng.guns.modular
|
global-config:
|
id-type: 0 #0:数据库ID自增 1:用户输入id 2:全局唯一id(IdWorker) 3:全局唯一ID(uuid)
|
db-column-underline: false
|
configuration:
|
configuration.map-underscore-to-camel-case: true #是否开启自动驼峰命名规则(camel case)映射
|
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl #输出Sql,如需打印Sql注释该配置
|
|
|
|
eureka:
|
client:
|
service-url: #注册中心地址
|
defaultZone: http://sinata:sinata@127.0.0.1:8000/eureka #启用身份验证的方式连接
|
register-with-eureka: true #在注册中心进行注册
|
fetch-registry: true #从Eureka中获取注册信息。
|
|
---
|
|
spring:
|
datasource:
|
url: jdbc:mysql://127.0.0.1:3306/oktravel?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
|
username: oktravel
|
password: Si8bnm5KPGSZkF3F
|
db-name: guns #用来搜集数据库的所有表
|
filters: wall,mergeStat
|
|
|
#spring:
|
# datasource:
|
# url: jdbc:mysql://127.0.0.1:3306/oktravel?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
|
# username: root
|
# password: 123456
|
# db-name: guns #用来搜集数据库的所有表
|
# filters: wall,mergeStat
|
|
#多数据源情况的配置
|
guns:
|
muti-datasource:
|
open: false
|
url: jdbc:mysql://127.0.0.1:3306/guns_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
|
username: root
|
password: root
|
dataSourceNames:
|
- dataSourceGuns
|
- dataSourceBiz
|
|
|
|
---
|
|
wx:
|
grantType: authorization_code #填authorization_code
|
appid: wx1b6102c5f391ed90 #应用唯一标识,在微信开放平台提交应用审核通过后获得
|
appSecret: 04fc328367d9741b70d379bb7a6d7a9b #应用密钥AppSecret,在微信开放平台提交应用审核通过后获得
|
appletsAppid: #小程序APPid
|
appletsAppSecret: #
|
mchId: 1582056471 #微信支付分配的商户号
|
key: cxM9KcSD8adbmrmFcCvZuaEvZYFUKiad #key为商户平台设置的密钥key:
|
|
---
|
|
alipay:
|
appid: 2021003139618168 #应用程序唯一标识
|
appPrivateKey: MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCirPHwhWeh9FNW7FcpR5H5DOGRr0gm9Z8BMNNQtEOdY/n/iHlngTDcg2Osps6DlRVJNlpki8sG1Skir4y1TYvUgqd4sEEfdQXBYOooJo4xfsDiyU6cXCPVFh0KuEcFBGybVtnslGTFPquIXQw/7Maujf10ibWZPK1zdWju+5EpM7ZJLKaZvVP53HMVIeGezSLm/l5lDGb6SRHc4z4KziSYFKzeFJdU8co6qLoGUKub43aszr3siumWbpZuRybuEZu1nhsJDEfiKJaS3HJ21fow+tqVoqBFHnk5SDc/r5Nhp4L+BY1pLJJVYKQZrEjKSnEM29XJRvp/OSKirXlqHy+9AgMBAAECggEBAJBw/XXyDh2IgsNIoO/fQ6aeoF8qAufM6f01rDwZg3vpvJ3/QMT9ujPiWguAJRhCtJ7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1za8fwit6w4h+o+43MmWQCiC6MxQb+Gb92g0dCgJbpV8xl+Llu1mZnWSvbcQJI7/mgJlcw= #开发者应用私钥
|
alipayPublicKey: 11 #应用公钥
|
alipay_public_key: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoqzx8IVnofRTVuxXKUeR+Qzhka9IJvWfATDTULRDnWP5/4h5Z4Ew3INjrKbOg5UVSTZaZIvLBtUpIq+MtU2L1IKneLBBH3UFwWDqKCaOMX7A4slOnFwj1RYdCrhHBQRsm1bZ7JRkxT6riF0MP+zGro39dIm1mTytc3Vo7vuRKTO2SSymmb1T+dxzFSHhns0i5v5eZQxm+kkR3OM+Cs4kmBSs3hSXVPHKOqi6BlCrm+N2rM697Irplm6Wbkcm7hGbtZ4bCQxH4iiWktxydtX6MPralaKgRR55OUg3P6+TYaeC/gWNaSySVWCkGaxIykpxDNvVyUb6fzkioq15ah8vvQIDAQAB #支付宝公钥
|
|
---
|
|
juhe: #聚合数据
|
appKey: 255c69586c889d2228cd9c75eb5d47be #
|
|
|
---
|
|
jiguang:
|
appKey-driver: 93204c35ded9ba377a14af19 #极光推送应用唯一标识
|
masterSecret-driver: e4f6f435faefad29db6ba9b2 #用于服务器端 API 调用时与 AppKey 配合使用达到鉴权的目的
|
appKey-dispatch: cc212ee6dcecb26625917f40 #极光推送应用唯一标识
|
masterSecret-dispatch: 0d163a25a20647665c28639e #用于服务器端 API 调用时与 AppKey 配合使用达到鉴权的目的
|
|
|
---
|
|
filePath: /usr/local/server/orderPostionFile/ #存储订单轨迹文件路径
|
#filePath: C:/orderPostionFile/ #存储订单轨迹文件路径
|
|
|
#支付回调地址
|
#正式环境
|
callbackPath: https://www.kuaiyuncx.com:81/driver
|
#测试环境
|
#callbackPath: http://121.37.97.220:81/driver
|
|
---
|
#交通部推送数据功能开关
|
pushMinistryOfTransport: false
|