分布式事件的设计与抽象
This commit is contained in:
1 parent
fb424749c0
commit
dbfb59f461
9 files changed
+148
-5
No files matched your search
@@ -1,4 +1,7 @@
|
||||
using HelloShop.OrderingService.Extensions;
|
||||
// Copyright (c) HelloShop Corporation. All rights reserved.
|
||||
// See the license file in the project root for more information.
|
||||
|
||||
using HelloShop.OrderingService.Extensions;
|
||||
using HelloShop.OrderingService.Infrastructure;
|
||||
using MediatR;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
@@ -7,10 +7,8 @@ using HelloShop.OrderingService.Commands.Orders;
|
||||
using HelloShop.OrderingService.Models.Orders;
|
||||
using MediatR;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.ModelBinding;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Security.Claims;
|
||||
|
||||
namespace HelloShop.OrderingService.Controllers;
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// Copyright (c) HelloShop Corporation. All rights reserved.
|
||||
// See the license file in the project root for more information.
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace HelloShop.OrderingService.Services
|
||||
{
|
||||
public class MessageService(ILogger<MessageService> logger) : IEmailSender, ISmsSender
|
||||
|
||||
Reference in new issue
Block a user