server: port: 8007 tomcat: basedir: /home/fangxinxing/server/tomcat guns: swagger-open: false #是否开启swagger (true/false) kaptcha-open: false #是否开启登录时验证码 (true/false) file-upload-path: /home/fangxinxing/server/resources #文件上传目录(不配置的话为java.io.tmpdir目录) picture-server-address: https://ride.cbyzx.com/resources/ #图片服务器地址 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: prod 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: 127.0.0.1 port: 6379 password: 123456 database: 0 timeout: 1000 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: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://fxx-mysql.cb-inner.com:3306/fxx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai username: fxx password: "J7#kL8@qR2$vN5&pT!" db-name: fxx #用来搜集数据库的所有表 filters: wall,mergeStat --- spring: data: mongodb: uri: mongodb://127.0.0.1:27017/traveling_track --- wx: grantType: authorization_code #填authorization_code appid: 111 #应用唯一标识,在微信开放平台提交应用审核通过后获得 appSecret: 111 #应用密钥AppSecret,在微信开放平台提交应用审核通过后获得 appletsAppid: wx0de58018e30d92ca #小程序APPid appletsAppSecret: add17fe80420beb099d24d0cc17d0f6f # mchId: 111 #微信支付分配的商户号 key: 111 #key为商户平台设置的密钥key: url: https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid={0}&secret={1} --- alipay: appid: 111 #应用程序唯一标识 appPrivateKey: 111 #开发者应用私钥 alipayPublicKey: 1 #应用公钥 alipay_public_key: 111 #支付宝公钥 --- juhe: #聚合数据 appKey: 111 # --- jiguang: appKey-driver: 111 #极光推送应用唯一标识 masterSecret-driver: 111 #用于服务器端 API 调用时与 AppKey 配合使用达到鉴权的目的 appKey-dispatch: 111 #极光推送应用唯一标识 masterSecret-dispatch: 111 #用于服务器端 API 调用时与 AppKey 配合使用达到鉴权的目的 filePath: /home/fangxinxing/server/qytpdf/ qyt: socket_uri: http://127.0.0.1:6000 admin_url: http://127.0.0.1:8010 --- #支付回调地址 #正式环境 callbackPath: https://ride.cbyzx.com/driver --- #交通部推送数据功能开关 pushMinistryOfTransport: false