mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
4.4.2
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>com.gitee.sop</groupId>
|
||||
<artifactId>sop-parent</artifactId>
|
||||
<version>4.4.1-SNAPSHOT</version>
|
||||
<version>4.4.2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
|
||||
|
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>com.gitee.sop</groupId>
|
||||
<artifactId>sop-parent</artifactId>
|
||||
<version>4.4.1-SNAPSHOT</version>
|
||||
<version>4.4.2-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>com.gitee.sop</groupId>
|
||||
<artifactId>sop-parent</artifactId>
|
||||
<version>4.4.1-SNAPSHOT</version>
|
||||
<version>4.4.2-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
|
||||
|
@@ -151,9 +151,7 @@ public class Example1001_BaseController {
|
||||
// 参数绑定
|
||||
@Open(value = "story.oneparam", version = "1.1")
|
||||
@GetMapping("/oneParam/v2")
|
||||
public StoryResult oneParamV2(
|
||||
@NotNull(message = "id不能为空")
|
||||
@Min(value = 1, message = "id必须大于0") Integer id) {
|
||||
public StoryResult oneParamV2(Integer id) {
|
||||
StoryResult result = new StoryResult();
|
||||
result.setName("id:" + id);
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user