huliguo
2025-08-08 749570394745ae95ee65605eadb42800f42fa20a
src/main/resources/application.yml
@@ -1,4 +1,46 @@
#server:
#  port: ${SERVER_PORT}
## JWT配置
#jwt:
#  secret: linghu-system-mySuperSecretKeyThatIsAtLeast-key-2024
#  expiration: 3600
#  #open-crypt
##app:
##  crypt:
##    secret-key: "fY9tX7vX7qH5bN2cD8eM4xD2fH7uL4xM"
#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://${MYSQL_HOST}:${MYSQL_PORT}/${MYSQL_DATABASE}?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&characterEncoding=UTF-8
#    username: ${MYSQL_USERNAME}
#    password: ${MYSQL_PASSWORD}
#
#    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
#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#
#logging:
#  level:
#    # 将Mapper接口所在的包路径设置为DEBUG级别
#    com.linghu.mapper: DEBUG  # 替换为你的Mapper接口包路径
#linghu:
##  url: http://182.92.208.99:8000
#  url: ${LINGHU_URL}
server:
  port: 8080
# JWT配置
@@ -12,9 +54,10 @@
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
#    url: jdbc:mysql://localhost:3306/linghu_geo_system?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&characterEncoding=UTF-8
    username: root
    password: "123456"
    password: 123456
    driver-class-name: com.mysql.cj.jdbc.Driver
  mvc:
    pathmatch:
@@ -34,4 +77,6 @@
    # 将Mapper接口所在的包路径设置为DEBUG级别
    com.linghu.mapper: DEBUG  # 替换为你的Mapper接口包路径
linghu:
  url: http://182.92.208.99:8000
     url: http://152.136.60.221:8000
#    url: http://152.136.60.221:5667
#  url: ${LINGHU_URL}