mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
4.0.2
This commit is contained in:
@@ -62,6 +62,15 @@ public class Example1001_BaseController {
|
||||
return story;
|
||||
}
|
||||
|
||||
// 参数绑定
|
||||
@Open(value = "story.param.bind", mergeResult = false)
|
||||
@RequestMapping("/get/param/v1")
|
||||
public StoryResult param(int id, String name) {
|
||||
StoryResult result = new StoryResult();
|
||||
result.setName("参数绑定:id:" + id + ", name:" + name);
|
||||
return result;
|
||||
}
|
||||
|
||||
// 忽略验证
|
||||
@Open(value = "story.get.ignore", ignoreValidate = true)
|
||||
@RequestMapping("/get/ignore/v1")
|
||||
|
Reference in New Issue
Block a user