From 9adebb75e04e8b0b369ebd318495cb683aa385b8 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Mon, 26 Apr 2021 09:30:24 +0800 Subject: [PATCH] 添加手机号199的验证 --- kidgrow-springcloud/kidgrow-springcloud-zuul/pom.xml | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/kidgrow-springcloud/kidgrow-springcloud-zuul/pom.xml b/kidgrow-springcloud/kidgrow-springcloud-zuul/pom.xml index cc98b94..f1c9436 100644 --- a/kidgrow-springcloud/kidgrow-springcloud-zuul/pom.xml +++ b/kidgrow-springcloud/kidgrow-springcloud-zuul/pom.xml @@ -12,6 +12,10 @@ <artifactId>kidgrow-springcloud-zuul</artifactId> <dependencies> +<!-- <dependency>--> +<!-- <groupId>com.kidgrow</groupId>--> +<!-- <artifactId>kidgrow-usercenter-api</artifactId>--> +<!-- </dependency>--> <dependency> <groupId>com.kidgrow</groupId> <artifactId>kidgrow-config</artifactId> @@ -55,6 +59,11 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional> + </dependency> + <!--网关限流模块--> + <dependency> + <groupId>com.marcosbarbero.cloud</groupId> + <artifactId>spring-cloud-zuul-ratelimit</artifactId> </dependency> <!--web 模块--> <dependency> @@ -107,6 +116,11 @@ <groupId>com.github.zlt2000</groupId> <artifactId>swagger-butler-core</artifactId> </dependency> + <!-- redis--> + <dependency> + <groupId>com.kidgrow</groupId> + <artifactId>kidgrow-redis-spring-boot-starter</artifactId> + </dependency> </dependencies> <build> @@ -130,6 +144,21 @@ </execution> </executions> </plugin> + <plugin> + <groupId>com.spotify</groupId> + <artifactId>dockerfile-maven-plugin</artifactId> + <configuration> + <!-- Dockerfile目录指定 --> + <dockerfile>Dockerfile</dockerfile> + <repository>${docker.repostory}/${docker.image.prefix}/${project.artifactId}</repository> + <!-- 生成镜像标签 如不指定 默认为latest --> + <tag>1.0.1</tag> + <!--<tag>${project.version}</tag>--> + <buildArgs> + <JAR_FILE>./target/${project.build.finalName}.jar</JAR_FILE> + </buildArgs> + </configuration> + </plugin> </plugins> </build> </project> \ No newline at end of file -- Gitblit v1.8.0