server.port=8083 server.servlet.context-path=/auth # 增加请求头大小限制,解决431错误 server.max-http-header-size=32KB # MySQL Database Configuration spring.datasource.url=jdbc:mysql://192.168.0.77:3306/liandatugboatmis?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver spring.datasource.username=root spring.datasource.password=bowin@2023 # JPA Configuration spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect spring.jpa.hibernate.ddl-auto=none spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true # 关闭自动命名转换,使用精确的列名 spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl # JWT配置 jwt.secret=your-secret-key-change-in-production jwt.expiration=86400000 jwt.header=Authorization # 日志配置 logging.level.com.lianda=DEBUG logging.level.org.springframework.security=DEBUG logging.level.org.springframework.web=DEBUG logging.level.org.hibernate=DEBUG logging.level.root=INFO # 开启详细的安全日志 logging.level.org.springframework.security.oauth2=DEBUG logging.level.org.springframework.security.web.FilterChainProxy=DEBUG logging.level.org.springframework.boot.autoconfigure.security=DEBUG # H2 Console (for debugging) spring.h2.console.enabled=true spring.h2.console.path=/h2-console