xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/controller/XpNotificationController.java
@@ -41,7 +41,7 @@ } @PostMapping("/update") @ApiOperation(value = "修改设置") public R<List<XpNotification>> update(@RequestBody NotificationDto notificationDto) { public R update(@RequestBody NotificationDto notificationDto) { List<XpNotification> notifications = notificationDto.getNotifications(); xpNotificationService.updateBatchById(notifications); return R.ok(); xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/dto/NotificationDto.java
@@ -6,11 +6,12 @@ import lombok.Data; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.util.List; @Data @ApiModel(value = "消息通知设置DTO") public class NotificationDto { public class NotificationDto implements Serializable { @ApiModelProperty(value = "消息通知列表") private List<XpNotification> notifications;