fei.wang
2025-04-16 c386374de5ff4a65904124ef839e6862518d27fa
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
 
 
server:
  tomcat:
    connection-timeout: 20000
  port: 8083
#  port: 6544
  address: 0.0.0.0
  servlet:
    context-path: /
 
#  servlet:
#    multipart:
#     max-file-size: 100MB
#    max-request-size: 1000MB
#server:
 
#  ssl:
#    enabled: true
#    #开启https
##    keyAlias: tomcat
##    key-alias: alias
#    key-store-password: rvoir8jt
#    #填写pfx-password.txt文件内的密码。
#    key-store-type: JKS
#    key-store: classpath:hj.iotposition.com.jks
 
      #您需要使用实际的证书名称替换domain_name.jks。
#      server.port = 443    #HTTPS协议默认端口号为443,需要使用其他端口时,您可以在此处自定义。
      #      server.ssl.key-store = classpath:domain_name.jks   #您需要使用实际的证书名称替换domain_name.jks。
      #      server.ssl.key-store-password = ********    #填写jks-password.txt文件内的密码。
      #      server.ssl.keyStoreType = JKS #JKS格式证书密钥库类型。PFX格式的证书密钥库类型为PKCS12。
#    protocol:
 
 
#upload:
#  upload-save-path: /Users/wangxu/Works/xzhwxcx/images/ #保存路径 绝对路径
#  upload-out-path: /resource/file/ #输出路径,代理此路径
 
spring:
  servlet:
    multipart:
      max-request-size: 5MB
      max-file-size: 5MB
  web:
    resources:
      static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/resource/
 
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
#    url: jdbc:mysql://192.168.5.121:3306/hxzksm?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
#    url: jdbc:mysql://127.0.0.1:3307/hxzksm?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
    url: jdbc:mysql:///hxzksm?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
 
    username: root
    password: hxzk20151102
#    password: 123456
#    password: blueiot
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
    serialization:
      write-dates-as-timestamps: false
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher
 
mybatis-plus:
  configuration:
 
    map-underscore-to-camel-case: true
    auto-mapping-behavior: full
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  mapper-locations: classpath*:mapper/*.xml
  global-config:
    # 逻辑删除配置
    db-config:
      # 删除前
      logic-not-delete-value: 1
      # 删除后
      logic-delete-value: 0
 
#wechat:
#  miniapp:
#    appid: wx6840ae2e891c7e2e
#    secret: da0fa74a11a2054020a7a7ba67a344e9
#    token: 1234567890
#    mchId: 1499520932
#    mchKey: wwwxzhisoftcom20180309comxzhisof
#    tradeType: JSAPI
#    keyPath: classpath:/apiclient_cert.p12