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: dev
|
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.agentdriving.driver.modular
|
configuration:
|
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
|
mapper-locations: classpath*:com/agentdriving/driver/modular/system/dao/**/*.xml
|
|
|
eureka:
|
client:
|
service-url: #注册中心地址
|
defaultZone: http://sinata:sinata@127.0.0.1:8000/eureka #启用身份验证的方式连接
|
register-with-eureka: true #在注册中心进行注册
|
fetch-registry: true #从Eureka中获取注册信息。
|
|
---
|
|
|
#配置Swagger接口扫描范围
|
swagger:
|
base-package: com.agentdriving.driver.modular
|
|
|
spring:
|
datasource:
|
url: jdbc:mysql://127.0.0.1:3306/fh_agent_driving?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
|
username: root
|
password: PI_v6J5@dvHwGTqc
|
# 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: wxa89b3291683bb3ff #应用唯一标识,在微信开放平台提交应用审核通过后获得
|
appSecret: 3883f641d86c6f0e4e9365bbdaa1affe #应用密钥AppSecret,在微信开放平台提交应用审核通过后获得
|
appletsAppid: 1 #小程序APPid
|
appletsAppSecret: 1 #
|
mchId: 1644659263 #微信支付分配的商户号
|
key: KY7XYaJwnZPV4O5CvJ6CreywiUxxnUGM #key为商户平台设置的密钥key:
|
apiv3: mAhbxa2ez1GUNWIArATff4b630AH99yg #key为商户平台设置的密钥key:
|
|
---
|
|
alipay:
|
appid: 111 #应用程序唯一标识
|
appPrivateKey: 111 #开发者应用私钥
|
alipayPublicKey: 111 #应用公钥
|
alipay_public_key: 111 #支付宝公钥
|
|
|
---
|
|
filePath: /usr/local/server/app/orderPostionFile/ #存储订单轨迹文件路径
|
#filePath: C:/orderPostionFile/ #存储订单轨迹文件路径
|
|
#支付回调地址
|
#正式环境
|
#callbackPath: https://okyueche.com:443/user
|
#测试环境
|
callbackPath: http://139.9.238.199:80/driver
|
|
|
---
|
|
spring:
|
data:
|
mongodb:
|
uri: mongodb://root:PaWPtGG95APCMBEb@127.0.0.1:27017/admin
|
# uri: mongodb://127.0.0.1:27017/admin
|
|
---
|
|
rongyun:
|
app_key: 82hegw5u86n4x
|
app_secret: 16ezqnP0EEU7
|