# 应用服务 WEB 访问端口 server.port=9090 # DataSource configuration using HikariCP (default connection pool in Spring Boot) spring.datasource.url=jdbc:mysql://120.78.126.4:9200/elec?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true&characterEncoding=utf8 spring.datasource.username=root spring.datasource.password=AL@2025 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver # HikariCP specific properties (optional) spring.datasource.hikari.maximum-pool-size=10 spring.datasource.hikari.minimum-idle=5 spring.datasource.hikari.idle-timeout=300000 spring.datasource.hikari.max-lifetime=1800000 spring.datasource.hikari.connection-timeout=30000 mybatis-plus: #mapper配置文件 mapper-locations: classpath:mapper/*.xml type-aliases-package: com.example.demo.model #需要配置成你当前包下的实体类路径 configuration: #开启驼峰命名 map-underscore-to-camel-case: true mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl