标签更新防重

This commit is contained in:
feng.li
2023-08-11 10:49:55 +08:00
parent fc97ff29ea
commit 4b49b2e59f
3 changed files with 16 additions and 6 deletions

View File

@@ -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();
}