From e5360f5d88f559fb0a344649a33d3e526eef8010 Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Wed, 14 Jun 2023 21:55:09 +0800 Subject: [PATCH] =?UTF-8?q?webtest=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebTest/Models/APIModel/Shop/ShopResponse.cs | 2 +- WebTest/Models/MappingProfile.cs | 4 ++-- WebTest/Models/Shop/Shop.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WebTest/Models/APIModel/Shop/ShopResponse.cs b/WebTest/Models/APIModel/Shop/ShopResponse.cs index 90bd153..709b598 100644 --- a/WebTest/Models/APIModel/Shop/ShopResponse.cs +++ b/WebTest/Models/APIModel/Shop/ShopResponse.cs @@ -26,7 +26,7 @@ namespace WebTest.Models public string AppToken2 { get; set; } - //public IList PurchaseList { get; set; } + public IList PurchaseList { get; set; } public string ManagePwd { get; set; } diff --git a/WebTest/Models/MappingProfile.cs b/WebTest/Models/MappingProfile.cs index ed10fd5..54aed18 100644 --- a/WebTest/Models/MappingProfile.cs +++ b/WebTest/Models/MappingProfile.cs @@ -11,8 +11,8 @@ namespace WebTest.Models .ForMember(t => t.Name, opt => opt.MapFrom(f => f.UserName)); CreateMap().ForMember(t => t.VenderType, opt => opt.MapFrom(f => f.ShopType)) - .ForMember(t => t.Platform, opt => opt.MapFrom(f => f.PlatformId)); - //.ForMember(t => t.PurchaseAccountList, opt => opt.MapFrom(f => f.PurchaseList)); + .ForMember(t => t.Platform, opt => opt.MapFrom(f => f.PlatformId)) + .ForMember(t => t.PurchaseAccountList, opt => opt.MapFrom(f => f.PurchaseList)); CreateMap(); CreateMap(); diff --git a/WebTest/Models/Shop/Shop.cs b/WebTest/Models/Shop/Shop.cs index 7092872..70b481f 100644 --- a/WebTest/Models/Shop/Shop.cs +++ b/WebTest/Models/Shop/Shop.cs @@ -38,7 +38,7 @@ namespace WebTest public string ShopName { get => shopName; set { Set(ref shopName, value); } } - //public IList PurchaseAccountList { get; set; } + public IList PurchaseAccountList { get; set; } public string ManagePwd { get; set; } ///