server:
|
port: 8019
|
|
guns:
|
swagger-open: false #是否开启swagger (true/false)
|
kaptcha-open: false #是否开启登录时验证码 (true/false)
|
spring-session-open: false #是否开启spring session,如果是多机环境需要开启(true/false)
|
session-invalidate-time: 1800 #session失效时间(只在单机环境下生效,多机环境在SpringSessionConfig类中配置) 单位:秒
|
session-validation-interval: 900 #多久检测一次失效的session(只在单机环境下生效) 单位:秒
|
# file-upload-path: C:\Users\hi\Desktop\ #文件上传目录(不配置的话为java.io.tmpdir目录)
|
# picture-server-address: http://192.168.0.43/resources/ #图片服务器地址
|
file-upload-path: C:\Users\Administrator\Desktop\apache-tomcat-8.0.33\webapps\ROOT\upload\ #文件上传目录(不配置的话为java.io.tmpdir目录)
|
picture-server-address: http://139.9.249.67:8080/upload/ #图片服务器地址
|
rest-url: http://139.9.249.67:8080/rest/ #前端接口调用基础路径
|
|
spring:
|
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
|
redis:
|
host: 192.168.110.80
|
port: 6379
|
password: 123456
|
|
mybatis-plus:
|
type-aliases-package: com.stylefeng.guns.modular.system.model
|
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注释该配置
|
wx:
|
conf:
|
appId: wxcc3c9058e2b294db
|
secret: 5610fc6126255ca5f7bd9fa4330338b6
|
gaode:
|
map:
|
key: ea7326a77175aba0e9435859b17bca36 #高德key
|
|
---
|
|
spring:
|
datasource:
|
url: jdbc:mysql://192.168.110.80:3306/qyt_driving?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2B8
|
username: root
|
password: 123456
|
db-name: qyt_driving #用来搜集数据库的所有表
|
filters: wall,mergeStat
|
data:
|
mongodb:
|
uri: mongodb://192.168.110.80:27017/test
|
|
|
|
---
|
|
filePath: /usr/local/server/app/orderPostionFile/ #存储订单轨迹文件路径
|
|
---
|
#支付回调地址
|
callbackPath: https://chaoshengdaijia.com:8443
|
|
|
---
|
|
# mallbook 调起接口参数配置
|
mallbook:
|
# pay_url:mallbook接口地址 测试环境: https://uat.mallbook.cn/api 生产环境:https://cloudpay.mallbook.cn/api
|
pay_url: https://cloudpay.mallbook.cn/api
|
# merchant_no 业务系统商户平台编号,需替换为mallbook工作人员提供的商户编号
|
merchant_no: 111
|
# version 接口版本号
|
version: 1.0.0
|
# channel_type 渠道类型 HF:汇付
|
channel_type: HF
|
# merchant_private_key 商户平台私钥,需要替换成商户平台自己生成的私钥
|
merchant_private_key: 1111
|
# mall_book_public_key mallbook测试环境公钥 不需要替换
|
mall_book_public_key: 1111
|