guyue
6 天以前 e285517df2a3cb206282a41f958c80044422a552
src/main/resources/application.yml
@@ -1,14 +1,29 @@
server:
  port: 8080
# JWT配置
jwt:
  secret: linghu-system-mySuperSecretKeyThatIsAtLeast-key-2024
  expiration: 3600
spring:
  datasource:
    url: jdbc:mysql://192.168.110.21:3306/linghu_geo_system?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&characterEncoding=UTF-8
    # url: jdbc:mysql://127.0.0.1:3306/linghu?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&characterEncoding=UTF-8
    username: root
    password: "123456"
    driver-class-name: com.mysql.cj.jdbc.Driver
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher  # 使用 AntPathMatcher 替代 PathPatternMatcher
mybatis-plus:
  global-config:
    db-config:
      logic-delete-field: del_flag #默认deleted
      logic-delete-value: 1
      logic-not-delete-value: 0
  configuration:
    map-underscore-to-camel-case: false
linghu:
  url: http://182.92.208.99:8000/api/v1