From ad742128b7baab600477d32c5932136b7417beb4 Mon Sep 17 00:00:00 2001 From: tanghc Date: Fri, 9 Oct 2020 08:20:43 +0800 Subject: [PATCH 1/2] 4.0.3 --- .../sop/storyweb/controller/Example1001_BaseController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sop-example/sop-story/src/main/java/com/gitee/sop/storyweb/controller/Example1001_BaseController.java b/sop-example/sop-story/src/main/java/com/gitee/sop/storyweb/controller/Example1001_BaseController.java index f2401ecb..42747c1e 100644 --- a/sop-example/sop-story/src/main/java/com/gitee/sop/storyweb/controller/Example1001_BaseController.java +++ b/sop-example/sop-story/src/main/java/com/gitee/sop/storyweb/controller/Example1001_BaseController.java @@ -108,7 +108,7 @@ public class Example1001_BaseController { // 忽略验证 @ApiOperation(value = "忽略签名验证", notes = "忽略签名验证") @Open(value = "story.get.ignore", ignoreValidate = true) - @RequestMapping(value = "/get/ignore/v1", method = {RequestMethod.GET, RequestMethod.POST}) + @PostMapping(value = "/get/ignore/v1") public StoryResult getStory21(@RequestBody StoryParam story) { StoryResult result = new StoryResult(); result.setId((long) story.getId()); From d0d4ab09f247ba140cfb36f4e5395f24e8b0aaeb Mon Sep 17 00:00:00 2001 From: tanghc Date: Tue, 13 Oct 2020 16:30:30 +0800 Subject: [PATCH 2/2] 4.0.3 --- .../java/com/gitee/sop/storyweb/config/OpenServiceConfig.java | 1 - 1 file changed, 1 deletion(-) diff --git a/sop-example/sop-story/src/main/java/com/gitee/sop/storyweb/config/OpenServiceConfig.java b/sop-example/sop-story/src/main/java/com/gitee/sop/storyweb/config/OpenServiceConfig.java index d1a0fb7d..25ec0a3a 100644 --- a/sop-example/sop-story/src/main/java/com/gitee/sop/storyweb/config/OpenServiceConfig.java +++ b/sop-example/sop-story/src/main/java/com/gitee/sop/storyweb/config/OpenServiceConfig.java @@ -4,7 +4,6 @@ import com.gitee.sop.servercommon.bean.ServiceConfig; import com.gitee.sop.servercommon.configuration.AlipayServiceConfiguration; import com.gitee.sop.servercommon.swagger.SwaggerSupport; import org.springframework.context.annotation.Configuration; -import org.springframework.context.annotation.Import; import springfox.documentation.swagger2.annotations.EnableSwagger2; /**