- POST /v1/in/push/schedule (예약 발송 등록) - POST /v1/in/push/schedule/cancel (예약 취소) - ScheduleCancelStore: Redis 기반 예약 취소 추적 - ScheduleWorker: 취소된 예약 메시지 ACK 후 스킵 로직 추가 Closes #116
22 lines
496 B
C#
22 lines
496 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace SPMS.Application.DTOs.Push;
|
|
|
|
public class PushScheduleRequestDto
|
|
{
|
|
[Required]
|
|
public string MessageCode { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
public string SendType { get; set; } = string.Empty;
|
|
|
|
public long? DeviceId { get; set; }
|
|
|
|
public List<int>? Tags { get; set; }
|
|
|
|
[Required]
|
|
public string ScheduledAt { get; set; } = string.Empty;
|
|
|
|
public Dictionary<string, string>? Variables { get; set; }
|
|
}
|