From c700c1a307efea0e98eb48a444ec34f54ae088d4 Mon Sep 17 00:00:00 2001 From: qiurunze Date: Wed, 5 Dec 2018 11:48:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9=20token=20?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E7=94=9F=E6=88=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ..._tomcat_embed_tomcat_embed_core_8_5_23.xml | 13 - ...at_embed_tomcat_embed_websocket_8_5_23.xml | 13 - ...e_tomcat_tomcat_annotations_api_8_5_23.xml | 13 - ...ring_boot_starter_tomcat_1_5_8_RELEASE.xml | 13 - .idea/misc.xml | 2 +- .idea/workspace.xml | 929 +++++++++--------- README.md | 4 +- miaosha.iml | 32 +- pom.xml | 26 +- .../miaosha/config/UserArgumentResolver.java | 12 - .../miaosha/controller/MiaoshaController.java | 6 +- .../redis/RedissonAutoConfiguration.java | 152 +-- .../redis/RedissonDistributedLocker.java | 78 +- .../miaosha/redis/RedissonProperties.java | 196 ++-- .../geekq/miaosha/redis/RedissonService.java | 292 +++--- .../miaosha/service/MiaoShaUserService.java | 22 +- .../miaosha/timeTask/OrderCloseTask.java | 222 ++--- src/main/resources/application.properties | 14 +- target/classes/application.properties | 14 +- .../com/geekq/miaosha/DemoTask$1.class | Bin 871 -> 874 bytes .../com/geekq/miaosha/DemoTask$2.class | Bin 871 -> 874 bytes .../classes/com/geekq/miaosha/DemoTask.class | Bin 2051 -> 2054 bytes .../geekq/miaosha/GeekQMainApplication.class | Bin 836 -> 837 bytes .../com/geekq/miaosha/Md5Utils/MD5Utils.class | Bin 1657 -> 1657 bytes .../miaosha/access/AccessInterceptor.class | Bin 5501 -> 5552 bytes .../geekq/miaosha/common/ResponseCode.class | Bin 1519 -> 1520 bytes .../miaosha/config/UserArgumentResolver.class | Bin 2656 -> 2710 bytes .../miaosha/controller/DemoController.class | Bin 3405 -> 3406 bytes .../miaosha/controller/GoodsController.class | Bin 6833 -> 6828 bytes .../miaosha/controller/LoginController.class | Bin 3895 -> 3896 bytes .../controller/MiaoshaController.class | Bin 8351 -> 8413 bytes .../com/geekq/miaosha/rabbitmq/MQConfig.class | Bin 4277 -> 4277 bytes .../geekq/miaosha/rabbitmq/MQReceiver.class | Bin 2940 -> 2942 bytes .../com/geekq/miaosha/rabbitmq/MQSender.class | Bin 1524 -> 1484 bytes .../miaosha/redis/RedisPoolFactory.class | Bin 1464 -> 1460 bytes .../geekq/miaosha/redis/RedisService.class | Bin 9494 -> 9405 bytes .../miaosha/service/MiaoShaUserService.class | Bin 5180 -> 5182 bytes .../miaosha/service/MiaoshaService.class | Bin 6853 -> 6855 bytes .../geekq/miaosha/service/OrderService.class | Bin 4648 -> 4687 bytes .../miaosha/validator/IsMobileValidator.class | Bin 1592 -> 1689 bytes 40 files changed, 999 insertions(+), 1054 deletions(-) delete mode 100644 .idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_23.xml delete mode 100644 .idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_23.xml delete mode 100644 .idea/libraries/Maven__org_apache_tomcat_tomcat_annotations_api_8_5_23.xml delete mode 100644 .idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_8_RELEASE.xml diff --git a/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_23.xml b/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_23.xml deleted file mode 100644 index 99e8c9e..0000000 --- a/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_23.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_23.xml b/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_23.xml deleted file mode 100644 index 6a989bb..0000000 --- a/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_23.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_tomcat_tomcat_annotations_api_8_5_23.xml b/.idea/libraries/Maven__org_apache_tomcat_tomcat_annotations_api_8_5_23.xml deleted file mode 100644 index 4aba27a..0000000 --- a/.idea/libraries/Maven__org_apache_tomcat_tomcat_annotations_api_8_5_23.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_8_RELEASE.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_8_RELEASE.xml deleted file mode 100644 index d4fd605..0000000 --- a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_8_RELEASE.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index d30d09e..40d5ffa 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -7,7 +7,7 @@ - + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index a571675..999326f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,34 +2,46 @@ - - - - - - - - - + + + + + - - - - - - + + + + + + + + + + + + + - + + + + + + + + + + + + + + - - - - - + @@ -192,35 +204,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + - - - - - + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -237,7 +355,6 @@ m - getByToken 商品已经秒杀完毕 refreshVerifyCode path @@ -257,6 +374,10 @@ joda expire redssionProperties + redisson + getBy + addC + getByToken @@ -266,10 +387,6 @@ @@ -354,10 +475,10 @@ - @@ -589,8 +710,7 @@ - - + @@ -622,15 +742,6 @@ - - - - - - - - - @@ -639,7 +750,15 @@ - + + + + + + + + + @@ -649,7 +768,24 @@ - + + + + + + + + + + + + + + + + + + @@ -659,19 +795,8 @@ - - - - - - - - - - - - + @@ -680,11 +805,15 @@ + + + +