摘要: import com.alibaba.druid.pool.DruidDataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory 阅读全文
posted @ 2021-09-05 23:58 tonggc1668 阅读(309) 评论(0) 推荐(0) 编辑
摘要: import lombok.Data; import lombok.extern.slf4j.Slf4j; import org.apache.kafka.clients.producer.ProducerConfig; import org.springframework.beans.factor 阅读全文
posted @ 2021-09-05 23:55 tonggc1668 阅读(65) 评论(0) 推荐(0) 编辑
摘要: import org.apache.http.client.HttpClient; import org.apache.http.client.config.RequestConfig; import org.apache.http.config.Registry; import org.apach 阅读全文
posted @ 2021-09-05 23:53 tonggc1668 阅读(415) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boo 阅读全文
posted @ 2021-09-05 23:48 tonggc1668 阅读(236) 评论(0) 推荐(0) 编辑
摘要: <!-- docker --> <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-plugin</artifactId> <version>0.4.13</version> <configuration> <!-- ma 阅读全文
posted @ 2021-09-05 22:12 tonggc1668 阅读(44) 评论(0) 推荐(0) 编辑
摘要: application.properties <spring.version>5.2.5.RELEASE</spring.version> <spring-boot.version>2.2.6.RELEASE</spring-boot.version> <mybatis-spring-boot-st 阅读全文
posted @ 2021-09-05 22:07 tonggc1668 阅读(129) 评论(0) 推荐(0) 编辑
摘要: FROM openjdk:7-jre-slimMAINTAINER xuxueliENV PARAMS=""ENV TZ=PRCRUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezoneADD targ 阅读全文
posted @ 2021-09-05 21:38 tonggc1668 阅读(522) 评论(0) 推荐(1) 编辑
摘要: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> <e 阅读全文
posted @ 2021-09-05 21:13 tonggc1668 阅读(208) 评论(0) 推荐(0) 编辑
摘要: @Configuration public class WebMvcConfig implements WebMvcConfigurer { @Profile("dev") @Override public void addCorsMappings(CorsRegistry registry) { 阅读全文
posted @ 2021-09-05 13:12 tonggc1668 阅读(30) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> <exclusions> <exclusion 阅读全文
posted @ 2021-09-05 12:22 tonggc1668 阅读(414) 评论(0) 推荐(0) 编辑