|
@@ -39,6 +39,9 @@ public class MuseumPictureGroupController {
|
|
|
@PutMapping("/update")
|
|
|
@Operation(summary = "更新图片组")
|
|
|
public CommonResult<Boolean> updatePictureGroup(@Valid @RequestBody MuseumPictureGroupSaveVO saveVO) {
|
|
|
+ if (saveVO.getId()==null) {
|
|
|
+ return CommonResult.error(123,"无效id");
|
|
|
+ }
|
|
|
museumPictureGroupService.updatePictureGroup(saveVO);
|
|
|
return CommonResult.success(true);
|
|
|
}
|