xyc
4 天以前 a19fa68f465f5c77c8bf11fa596629f6fcf420a8
traffic-audit-server/src/main/resources/application.yml.example
@@ -15,8 +15,8 @@
spring:
  datasource:
    url: jdbc:mysql://localhost:3305/traffic_audit?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
    username: root
    password: ${MYSQL_PASSWORD:root}
    username: ${TRAFFIC_DB_USER:root}
    password: ${TRAFFIC_DB_PASSWORD:root}
    driver-class-name: com.mysql.cj.jdbc.Driver
  servlet:
    multipart:
@@ -41,7 +41,8 @@
      logic-not-delete-value: 0
jwt:
  secret: ${JWT_SECRET:change-me-jwt-secret}
  # 必须是「Base64 合法字符 + 长度是 4 的倍数」;下面这串 32 位十六进制可直接用
  secret: ${TRAFFIC_JWT_SECRET:8f2c1d64a7b34e09c5d81f6a2b0e7c93}
  expiration: 86400000
docs: