mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
4.2.4
This commit is contained in:
@@ -44,6 +44,8 @@ public StoryResult getStory() {
|
||||
|
||||
其中biz_content部分是我们想要的,在方法上申明一个对象,对应biz_content中的内容即可完成参数绑定,并且对参数进行JSR-303校验。
|
||||
|
||||
**注意:接口方法必须有且只有一个对象参数,如果申明多个会出现参数绑定失败**
|
||||
|
||||
```java
|
||||
@Open("goods.add")
|
||||
@RequestMapping("/goods/add")
|
||||
|
Reference in New Issue
Block a user