From 575fa4338c32fdd3c5c1452a139b6604e5dcdddf Mon Sep 17 00:00:00 2001
From: "Yangkai.Shen" <237497819@qq.com>
Date: Mon, 30 Sep 2019 15:20:52 +0800
Subject: [PATCH] =?UTF-8?q?:tada:=20spring-boot-demo-ratelimit-redis=20?=
=?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 1 +
spring-boot-demo-ratelimit-redis/.gitignore | 31 ++++++++
spring-boot-demo-ratelimit-redis/pom.xml | 75 +++++++++++++++++++
...ringBootDemoRatelimitRedisApplication.java | 21 ++++++
...tDemoRatelimiterRedisApplicationTests.java | 16 ++++
5 files changed, 144 insertions(+)
create mode 100644 spring-boot-demo-ratelimit-redis/.gitignore
create mode 100644 spring-boot-demo-ratelimit-redis/pom.xml
create mode 100644 spring-boot-demo-ratelimit-redis/src/main/java/com/xkcoding/ratelimit/redis/SpringBootDemoRatelimitRedisApplication.java
create mode 100644 spring-boot-demo-ratelimit-redis/src/test/java/com/xkcoding/ratelimit/redis/SpringBootDemoRatelimiterRedisApplicationTests.java
diff --git a/pom.xml b/pom.xml
index 2a44ce6..cbce36e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -65,6 +65,7 @@
+ * 启动器 + *
+ * + * @author yangkai.shen + * @date Created in 2019/9/30 09:32 + */ +@SpringBootApplication +public class SpringBootDemoRatelimitRedisApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoRatelimitRedisApplication.class, args); + } + +} diff --git a/spring-boot-demo-ratelimit-redis/src/test/java/com/xkcoding/ratelimit/redis/SpringBootDemoRatelimiterRedisApplicationTests.java b/spring-boot-demo-ratelimit-redis/src/test/java/com/xkcoding/ratelimit/redis/SpringBootDemoRatelimiterRedisApplicationTests.java new file mode 100644 index 0000000..e4d829e --- /dev/null +++ b/spring-boot-demo-ratelimit-redis/src/test/java/com/xkcoding/ratelimit/redis/SpringBootDemoRatelimiterRedisApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.ratelimit.redis; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class SpringBootDemoRatelimiterRedisApplicationTests { + + @Test + public void contextLoads() { + } + +}