只需要在yml中配置

|------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | hljs yaml spring: cloud: alicloud: access-key: secret-key: oss: endpoint: bucket: redis: host: localhost port: 6379 datasource: url: jdbc:sqlite:data.db driver-class-name: org.sqlite.JDBC # mybatis的配置 mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
配置完成后重启即可

51工具盒子