03 2023 档案
摘要:1. springboot配置 spring.jackson.date-format=yyyy-MM-dd HH:mm:ss spring.jackson.time-zone=GMT+8
阅读全文
摘要:1.过滤器代码实现 package com.pab.data.datasource.filter; import com.pab.data.datasource.common.BaseContext; import lombok.extern.slf4j.Slf4j; import org.spri
阅读全文
摘要:1. springboot项目引入pom相关依赖 <dependency> <groupId>io.github.openfeign</groupId> <artifactId>feign-core</artifactId> <version>11.8</version> </dependency>
阅读全文
摘要:1. springboot application.yml 配置说明 server: port: 8080 spring: datasource: username: root password: 123456 driver-class-name: com.mysql.cj.jdbc.Driver
阅读全文
摘要:1.maven 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> 2.RestTemplate 配置 @
阅读全文