spring: application: name: ICVP datasource: # 驱动类 (使用 MySQL 8.0 及以上版本推荐驱动) driver-class-name: com.mysql.cj.jdbc.Driver # 数据库连接 URL,注意替换库名、时区和编码设置 url: jdbc:mysql://10.10.10.30:3306/icvp?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai # 数据库用户名 username: icvp # 数据库密码 password: 4RtmJimtscsK7XiN ocsp: responder-url: http://localhost:8080/api/v1/certificate/ocsp minio: endpoint: http://10.10.10.25:9020 bucket-name: test access-key: minio_bxM8k5 secret-key: minio_mP6zC4 seal: #sealer-p12-path: /opt/icvp/seal/SealBuilder.p12 sealer-p12-path: D:/IdeaProject/icvpServer/src/main/resources/SealBuilder.p12 sealer-p12-password: 12345678 # 2. MyBatis-Plus 专属配置 mybatis-plus: # 指定 XML 映射文件的位置 (用于自定义 SQL) # 默认值为 classpath*:/mapper/**/*.xml,通常无需修改 mapper-locations: classpath*:/mapper/**/*.xml # 设置实体类的别名包,这样在 XML 中可以直接使用类名,无需全限定名 type-aliases-package: com.ymwk.icvp.entity # 原生 MyBatis 的详细配置 configuration: # 开启下划线到驼峰的自动映射 (例如: user_name -> userName) # 默认为 true,建议保持开启 map-underscore-to-camel-case: true # 将执行的 SQL 语句输出到控制台 (开发时很有用) log-impl: org.apache.ibatis.logging.stdout.StdOutImpl