修改动态不允许标题重复
This commit is contained in:
@@ -48,7 +48,7 @@ public class ContentController {
|
||||
|
||||
@PostMapping("/modify")
|
||||
@ApiOperation("修改动态")
|
||||
public ResponseResult updateContent(@RequestBody ContentUpdateDto dto) {
|
||||
public ResponseResult updateContent(@RequestBody ContentUpdateDto dto) throws ApiException {
|
||||
contentService.updateContent(dto);
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user