Commit aba1fd4a by Author name

2.6 修改发布动态的分组

parent cd767071
...@@ -53,7 +53,7 @@ public class PostApi { ...@@ -53,7 +53,7 @@ public class PostApi {
*/ */
@ApiOperation("发布动态") @ApiOperation("发布动态")
@PostMapping("/post") @PostMapping("/post")
public Response publishPost(@RequestBody @Validated(InsertGroup.class) PostForm postForm , BindingResult result , public Response publishPost(@RequestBody @Valid PostForm postForm , BindingResult result ,
@CurrentSubject Subject subject) { @CurrentSubject Subject subject) {
if (result.hasErrors()) { if (result.hasErrors()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment