using FlexJobApi.Core; using FlexJobApi.Core.Models.HumanResourcesServer.ElectronSign; using MediatR; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlexJobApi.UserServer.Application { public class PersonalUserRealCommandHandler( ResourceHttpUtils resourceHttpUtils ) : IRequestHandler { private readonly ResourceHttpUtils resourceHttpUtils = resourceHttpUtils; public async Task Handle(SendPersonalUserIdentity3RealSmsCommand request, CancellationToken cancellationToken) { await resourceHttpUtils.SendHttpAsync(EnumResourceService.HumanResourcesServer, HttpMethod.Post, "/api/ElectronSign/SendRealSms", new SendRealSmsInput { }.ToJson()); throw new Exception(); } } }