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; } ///