|
|
|
@ -41,7 +41,6 @@ public class StrayAnimalController { |
|
|
|
|
|
|
|
@Operation(summary = "添加动物信息时先保存文件", operationId = "AnimalSaveFile") |
|
|
|
@PostMapping(value = "save/file", consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
|
|
|
@RepeatSubmit |
|
|
|
@Log(module = LogModuleEnum.STRAY_ANIMAL_INFO, value = ActionTypeEnum.INSERT) |
|
|
|
public Result<?> saveFile( |
|
|
|
@RequestPart(name = "images", required = false) List<MultipartFile> images, |
|
|
|
@ -103,7 +102,7 @@ public class StrayAnimalController { |
|
|
|
|
|
|
|
@Operation(summary = "编辑动物信息可见范围") |
|
|
|
@PostMapping(value = "/update/visibility/{animalUuid}") |
|
|
|
@RepeatSubmit |
|
|
|
@RepeatSubmit(expire = 1) |
|
|
|
@Log(module = LogModuleEnum.STRAY_ANIMAL_INFO, value = ActionTypeEnum.UPDATE) |
|
|
|
public Result<?> updateVisibility( |
|
|
|
@PathVariable String animalUuid, |
|
|
|
|