标签更新防重
This commit is contained in:
@@ -49,7 +49,7 @@ public class LabelController {
|
||||
|
||||
@ApiOperation("修改标签")
|
||||
@PostMapping("/edit")
|
||||
public ResponseResult updateLabel(@RequestBody LabelUpdateDTO dto) {
|
||||
public ResponseResult updateLabel(@RequestBody LabelUpdateDTO dto) throws ApiException {
|
||||
labelService.updateLabel(dto);
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user