yanghb
2023-03-29 3f726eebc5a33c8c10e6bb77fa490cd4bdad1397
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
server:
  port: 5003
 
spring:
  application:
    name: dispatch-server
  profiles:
    active: @spring.active@
  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
 
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(只在单机环境下生效) 单位:秒
 
 
mybatis-plus:
  typeAliasesPackage: com.stylefeng.guns.modular.system.model
 
log:
  path: guns-logs
 
eureka:
  client:
    service-url: #注册中心地址
      defaultZone: http://sinata:sinata@127.0.0.1:8081/eureka #启用身份验证的方式连接
    register-with-eureka: true #在注册中心进行注册
    fetch-registry: true #从Eureka中获取注册信息。
 
#配置Swagger接口扫描范围
swagger:
  base-package: com.stylefeng.guns.modular
 
 
wx:
  grantType: authorization_code #填authorization_code
  appid: wx36c966d381cd5d62 #应用唯一标识,在微信开放平台提交应用审核通过后获得
  appSecret: cf4b21c7175356f41fa3c426f26c20e4 #应用密钥AppSecret,在微信开放平台提交应用审核通过后获得
  appletsAppid: wx7608ef3dae49b691 #小程序APPid
  appletsAppSecret: 8ea5529ad9bc9703557ebfd6a95299f6 #
  mchId: 1593080081 #微信支付分配的商户号
  key: JnhREmZwHNKyFUQPEhijp1gdaCUzKg8P #key为商户平台设置的密钥key:
 
alipay:
  appid: 1  #应用程序唯一标识
  appPrivateKey: 1 #开发者应用私钥
  alipayPublicKey: 1 #应用公钥
  alipay_public_key: 1 #支付宝公钥
 
juhe: #聚合数据
  appKey: 01ba594fee41fc7214ca77ef51c783c9 #
 
 
#filePath: /usr/local/server/orderPostionFile/ #存储订单轨迹文件路径
filePath: C:/orderPostionFile/  #存储订单轨迹文件路径
 
#支付回调地址
#正式环境
#callbackPath: https://okyueche.com:443/dispatch
#正式测试环境
callbackPath: http://123.56.89.63:80/dispatch
 
#交通部推送数据功能开关
pushMinistryOfTransport: false
 
jiguang:
  masterSecret: fca87938cb39a72360ea3293
  appKey: 7eecaa0ce660780f4b364684
 
 
---
spring:
  profiles: dev
  datasource:
    url: jdbc:mysql://192.168.5.102:3306/jyxtravel-sjdb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: 123456
    db-name: jyxtravel-sjdb #用来搜集数据库的所有表
    filters: wall,mergeStat
---
spring:
  profiles: prod
  datasource:
    url: jdbc:mysql://127.0.0.1:3306/kuanzhaiyx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowPublicKeyRetrieval=true&&serverTimezone=Asia/Shanghai
    username: root
    password: 123456
    db-name: kuanzhaiyx #用来搜集数据库的所有表
    filters: wall,mergeStat
---