server: port: 8010 tomcat: basedir: /etraffic/server/chuxing/tomcat servlet: session: cookie: name: CHUXINGSID guns: swagger-open: false #是否开启swagger (true/false) kaptcha-open: false #是否开启登录时验证码 (true/false) spring-session-open: true #是否开启spring session,如果是多机环境需要开启(true/false) session-invalidate-time: 1800 #session失效时间(只在单机环境下生效,多机环境在SpringSessionConfig类中配置) 单位:秒 session-validation-interval: 900 #多久检测一次失效的session(只在单机环境下生效) 单位:秒 file-upload-path: D:\tmp\ #文件上传目录(不配置的话为java.io.tmpdir目录) picture-server-address: http://221.182.45.100:8881/ #图片服务器地址 rest-url: http://139.9.249.67:8080/rest/ #前端接口调用基础路径 spring: 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: 500MB max-file-size: 500MB session: redis: namespace: spring:chuxing:session store-type: redis timeout: 7200 redis: host: 192.168.110.80 port: 6379 password: 123456 database: 0 timeout: 1000 mybatis-plus: type-aliases-package: 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注释该配置 --- --- spring: datasource: url: jdbc:mysql://192.168.110.80:3306/yuekeduo2.0?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai username: root password: 123456 db-name: qyttravel #用来搜集数据库的所有表 filters: wall,mergeStat --- spring: data: mongodb: uri: mongodb://192.168.110.80:27117/traveling_track --- wx: grantType: authorization_code #填authorization_code appid: 1111 #应用唯一标识,在微信开放平台提交应用审核通过后获得 appSecret: 1111 #应用密钥AppSecret,在微信开放平台提交应用审核通过后获得 appletsAppid: wx436cde5de45e1ed1 #小程序APPid appletsAppSecret: e94f587cfb5c325c13d72b1f5ddbb1e6 # mchId: 1111 #微信支付分配的商户号 key: 1111 #key为商户平台设置的密钥key: --- alipay: appid: 1111 #应用程序唯一标识 appPrivateKey: 1111 #开发者应用私钥 alipayPublicKey: 1111 #应用公钥 alipay_public_key: 1111 #支付宝公钥 --- qyt: chuxing_url: http://127.0.0.1:5000 daijia_url: http://10.31.182.11:3000/daijia #支付回调地址 #正式环境 callbackPath: https://traffic.qytzt.cn/chuxing #交通部推送数据功能开关 pushMinistryOfTransport: false cos: secretId: AKIDofP7ezSmvtiNtDMLExUpALJCya0EHG3e secretKey: Sp481pRrRpBQzOekfPzPgmhR0GV9oKem region: ap-shanghai bucketName: cb-1358396420 baseUrl: https://cb-1358396420.cos.ap-shanghai.mvacloud.com