From 6e36165c2092828cf4904d594637a53ad7e3f820 Mon Sep 17 00:00:00 2001 From: tanghc Date: Wed, 24 Apr 2019 15:07:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=85=E5=90=8D=EF=BC=8C?= =?UTF-8?q?=E4=BF=9D=E6=8C=81=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sop/{bookweb => storyweb}/SopStoryApplication.java | 2 +- .../sop/{bookweb => storyweb}/config/OpenServiceConfig.java | 2 +- .../{bookweb => storyweb}/controller/AlipayController.java | 4 ++-- .../controller/JSR303DemoController.java | 4 ++-- .../controller/PermissionDemoController.java | 2 +- .../{bookweb => storyweb}/controller/Story2Controller.java | 2 +- .../{bookweb => storyweb}/controller/StoryController.java | 2 +- .../controller/StoryDemoController.java | 2 +- .../controller/ThrowExceptionDemoController.java | 6 +++--- .../{bookweb => storyweb}/controller/param/GoodsParam.java | 2 +- .../controller/param/GoodsUpdateParam.java | 2 +- .../{bookweb => storyweb}/controller/param/StoryParam.java | 2 +- .../sop/{bookweb => storyweb}/message/GoodsErrorEnum.java | 2 +- .../sop/{bookweb => storyweb}/message/StoryErrorEnum.java | 2 +- .../sop/{bookweb => storyweb}/SopStoryApplicationTests.java | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/SopStoryApplication.java (92%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/config/OpenServiceConfig.java (97%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/controller/AlipayController.java (96%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/controller/JSR303DemoController.java (76%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/controller/PermissionDemoController.java (93%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/controller/Story2Controller.java (96%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/controller/StoryController.java (98%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/controller/StoryDemoController.java (91%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/controller/ThrowExceptionDemoController.java (85%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/controller/param/GoodsParam.java (90%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/controller/param/GoodsUpdateParam.java (64%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/controller/param/StoryParam.java (90%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/message/GoodsErrorEnum.java (91%) rename sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/{bookweb => storyweb}/message/StoryErrorEnum.java (91%) rename sop-example/sop-story/sop-story-web/src/test/java/com/gitee/sop/{bookweb => storyweb}/SopStoryApplicationTests.java (90%) diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/SopStoryApplication.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/SopStoryApplication.java similarity index 92% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/SopStoryApplication.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/SopStoryApplication.java index 16617166..3cccb4ae 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/SopStoryApplication.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/SopStoryApplication.java @@ -1,4 +1,4 @@ -package com.gitee.sop.bookweb; +package com.gitee.sop.storyweb; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/config/OpenServiceConfig.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/config/OpenServiceConfig.java similarity index 97% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/config/OpenServiceConfig.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/config/OpenServiceConfig.java index ef398533..1cfba892 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/config/OpenServiceConfig.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/config/OpenServiceConfig.java @@ -1,4 +1,4 @@ -package com.gitee.sop.bookweb.config; +package com.gitee.sop.storyweb.config; import com.gitee.sop.servercommon.bean.ServiceConfig; import com.gitee.sop.servercommon.configuration.AlipayServiceConfiguration; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/AlipayController.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/AlipayController.java similarity index 96% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/AlipayController.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/AlipayController.java index 1f788f84..eec120fc 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/AlipayController.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/AlipayController.java @@ -1,6 +1,6 @@ -package com.gitee.sop.bookweb.controller; +package com.gitee.sop.storyweb.controller; -import com.gitee.sop.bookweb.controller.param.StoryParam; +import com.gitee.sop.storyweb.controller.param.StoryParam; import com.gitee.sop.servercommon.annotation.ApiMapping; import com.gitee.sop.story.api.domain.Story; import io.swagger.annotations.Api; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/JSR303DemoController.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/JSR303DemoController.java similarity index 76% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/JSR303DemoController.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/JSR303DemoController.java index f04340d5..35831ddd 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/JSR303DemoController.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/JSR303DemoController.java @@ -1,6 +1,6 @@ -package com.gitee.sop.bookweb.controller; +package com.gitee.sop.storyweb.controller; -import com.gitee.sop.bookweb.controller.param.GoodsParam; +import com.gitee.sop.storyweb.controller.param.GoodsParam; import com.gitee.sop.servercommon.annotation.ApiMapping; import org.springframework.web.bind.annotation.RestController; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/PermissionDemoController.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/PermissionDemoController.java similarity index 93% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/PermissionDemoController.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/PermissionDemoController.java index 743b541e..60b25f54 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/PermissionDemoController.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/PermissionDemoController.java @@ -1,4 +1,4 @@ -package com.gitee.sop.bookweb.controller; +package com.gitee.sop.storyweb.controller; import com.gitee.sop.servercommon.annotation.ApiMapping; import com.gitee.sop.story.api.domain.Story; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/Story2Controller.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/Story2Controller.java similarity index 96% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/Story2Controller.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/Story2Controller.java index 360c3447..ba6d4cd4 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/Story2Controller.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/Story2Controller.java @@ -1,4 +1,4 @@ -package com.gitee.sop.bookweb.controller; +package com.gitee.sop.storyweb.controller; import com.gitee.sop.servercommon.annotation.ApiAbility; import com.gitee.sop.servercommon.annotation.ApiMapping; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/StoryController.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/StoryController.java similarity index 98% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/StoryController.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/StoryController.java index d2233e6f..0db97b0f 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/StoryController.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/StoryController.java @@ -1,4 +1,4 @@ -package com.gitee.sop.bookweb.controller; +package com.gitee.sop.storyweb.controller; import com.gitee.sop.servercommon.annotation.ApiMapping; import com.gitee.sop.servercommon.annotation.ApiAbility; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/StoryDemoController.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/StoryDemoController.java similarity index 91% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/StoryDemoController.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/StoryDemoController.java index fbc8a31f..b07e61fc 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/StoryDemoController.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/StoryDemoController.java @@ -1,4 +1,4 @@ -package com.gitee.sop.bookweb.controller; +package com.gitee.sop.storyweb.controller; import com.gitee.sop.servercommon.annotation.ApiMapping; import com.gitee.sop.story.api.domain.Story; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/ThrowExceptionDemoController.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/ThrowExceptionDemoController.java similarity index 85% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/ThrowExceptionDemoController.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/ThrowExceptionDemoController.java index 8fe8b7db..b43e647e 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/ThrowExceptionDemoController.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/ThrowExceptionDemoController.java @@ -1,7 +1,7 @@ -package com.gitee.sop.bookweb.controller; +package com.gitee.sop.storyweb.controller; -import com.gitee.sop.bookweb.controller.param.GoodsUpdateParam; -import com.gitee.sop.bookweb.message.GoodsErrorEnum; +import com.gitee.sop.storyweb.controller.param.GoodsUpdateParam; +import com.gitee.sop.storyweb.message.GoodsErrorEnum; import com.gitee.sop.servercommon.annotation.ApiMapping; import com.gitee.sop.servercommon.exception.ServiceException; import org.apache.commons.lang3.StringUtils; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/param/GoodsParam.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/GoodsParam.java similarity index 90% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/param/GoodsParam.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/GoodsParam.java index 333cd59d..d283de2b 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/param/GoodsParam.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/GoodsParam.java @@ -1,4 +1,4 @@ -package com.gitee.sop.bookweb.controller.param; +package com.gitee.sop.storyweb.controller.param; import lombok.Data; import org.hibernate.validator.constraints.Length; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/param/GoodsUpdateParam.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/GoodsUpdateParam.java similarity index 64% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/param/GoodsUpdateParam.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/GoodsUpdateParam.java index 3aab1d06..c159c689 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/param/GoodsUpdateParam.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/GoodsUpdateParam.java @@ -1,4 +1,4 @@ -package com.gitee.sop.bookweb.controller.param; +package com.gitee.sop.storyweb.controller.param; import lombok.Data; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/param/StoryParam.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/StoryParam.java similarity index 90% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/param/StoryParam.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/StoryParam.java index b1d5ec89..875a50aa 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/controller/param/StoryParam.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/StoryParam.java @@ -1,4 +1,4 @@ -package com.gitee.sop.bookweb.controller.param; +package com.gitee.sop.storyweb.controller.param; import io.swagger.annotations.ApiModelProperty; import lombok.Data; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/message/GoodsErrorEnum.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/message/GoodsErrorEnum.java similarity index 91% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/message/GoodsErrorEnum.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/message/GoodsErrorEnum.java index 77a3265a..c3d3e9c3 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/message/GoodsErrorEnum.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/message/GoodsErrorEnum.java @@ -1,4 +1,4 @@ -package com.gitee.sop.bookweb.message; +package com.gitee.sop.storyweb.message; import com.gitee.sop.servercommon.message.ServiceErrorMeta; diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/message/StoryErrorEnum.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/message/StoryErrorEnum.java similarity index 91% rename from sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/message/StoryErrorEnum.java rename to sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/message/StoryErrorEnum.java index 23c29395..95739417 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/bookweb/message/StoryErrorEnum.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/message/StoryErrorEnum.java @@ -1,4 +1,4 @@ -package com.gitee.sop.bookweb.message; +package com.gitee.sop.storyweb.message; import com.gitee.sop.servercommon.message.ServiceErrorMeta; diff --git a/sop-example/sop-story/sop-story-web/src/test/java/com/gitee/sop/bookweb/SopStoryApplicationTests.java b/sop-example/sop-story/sop-story-web/src/test/java/com/gitee/sop/storyweb/SopStoryApplicationTests.java similarity index 90% rename from sop-example/sop-story/sop-story-web/src/test/java/com/gitee/sop/bookweb/SopStoryApplicationTests.java rename to sop-example/sop-story/sop-story-web/src/test/java/com/gitee/sop/storyweb/SopStoryApplicationTests.java index ba442149..8602a36d 100644 --- a/sop-example/sop-story/sop-story-web/src/test/java/com/gitee/sop/bookweb/SopStoryApplicationTests.java +++ b/sop-example/sop-story/sop-story-web/src/test/java/com/gitee/sop/storyweb/SopStoryApplicationTests.java @@ -1,4 +1,4 @@ -package com.gitee.sop.bookweb; +package com.gitee.sop.storyweb; import org.junit.Test; import org.junit.runner.RunWith;