From 8c62d16c70c77e9c8b4e791e3c7e32003219ed19 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期一, 09 六月 2025 10:23:20 +0800 Subject: [PATCH] feat:开通swagger --- LifePayment/LifePayment.Application/LifePaymentServicesApplicationModuleAutoMapperProfile.cs | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/LifePayment/LifePayment.Application/LifePaymentServicesApplicationModuleAutoMapperProfile.cs b/LifePayment/LifePayment.Application/LifePaymentServicesApplicationModuleAutoMapperProfile.cs index 7f2c4b6..8dce535 100644 --- a/LifePayment/LifePayment.Application/LifePaymentServicesApplicationModuleAutoMapperProfile.cs +++ b/LifePayment/LifePayment.Application/LifePaymentServicesApplicationModuleAutoMapperProfile.cs @@ -1,6 +1,9 @@ using AutoMapper; using LifePayment.Application.Contracts; +using LifePayment.Application.Contracts.Sync; using LifePayment.Domain; +using LifePayment.Domain.LifePay; +using LifePayment.Domain.Models; namespace LifePayment.Application { @@ -8,7 +11,32 @@ { public LifePaymentServicesApplicationModuleAutoMapperProfile() { + #region lifepay + CreateMap<CreateLifePayOrderInput, LifePayOrder>(MemberList.None); + + CreateMap<CreateEditPayChannelsInput, LifePayChannles>(MemberList.None); + + CreateMap<CreateBackClientUserInput, CreateAccountInput>(MemberList.None); + #endregion + + CreateMap<SyncIdentityUser, SyncIdentityUser>(MemberList.None); + CreateMap<SyncUser, SyncUser>(MemberList.None); + CreateMap<SyncLifePayChannles, SyncLifePayChannles>(MemberList.None); + CreateMap<SyncLifePayUser, SyncLifePayUser>(MemberList.None); + CreateMap<SyncLifePayOrder, SyncLifePayOrder>(MemberList.None); + CreateMap<SyncLifePayChannlesRake, SyncLifePayChannlesRake>(MemberList.None); + CreateMap<SyncLifePayConsumption, SyncLifePayConsumption>(MemberList.None); + CreateMap<SyncLifePayExpensesReceipts, SyncLifePayExpensesReceipts>(MemberList.None); + + + CreateMap<LifePayPromoter, PromoterDto>(MemberList.None); + CreateMap<CreateOrUpdatePromoterInput, LifePayPromoter>(MemberList.None); + + CreateMap<LifePayChannelConsultation, ChannelConsultationDto>(MemberList.None); + CreateMap<CreateChannelConsultationInput, LifePayChannelConsultation>(MemberList.None); + + CreateMap<CreateChannelConsultationFollowupInput, LifePayChannelConsultationFollowup>(MemberList.None); } } } \ No newline at end of file -- Gitblit v1.9.1