feat: SKU保存链路切换到RabbitMQ Outbox并新增独立Worker
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 51s
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 51s
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
namespace TakeoutSaaS.Application.App.Products.Messaging;
|
||||
|
||||
/// <summary>
|
||||
/// SKU replace 任务已创建事件(用于异步消费执行)。
|
||||
/// </summary>
|
||||
public sealed class ProductSkuSaveJobRequestedEvent
|
||||
{
|
||||
/// <summary>
|
||||
/// 默认消费队列名称。
|
||||
/// </summary>
|
||||
public const string QueueName = "tenant.product-sku-replace.v1";
|
||||
|
||||
/// <summary>
|
||||
/// 任务 ID。
|
||||
/// </summary>
|
||||
public long JobId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 租户 ID。
|
||||
/// </summary>
|
||||
public long TenantId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 门店 ID。
|
||||
/// </summary>
|
||||
public long StoreId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商品 ID。
|
||||
/// </summary>
|
||||
public long ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 请求 ID(幂等辅助)。
|
||||
/// </summary>
|
||||
public string RequestId { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user