Browse Source

webtest更新

yijia
shanji 2 years ago
parent
commit
e5360f5d88
  1. 2
      WebTest/Models/APIModel/Shop/ShopResponse.cs
  2. 4
      WebTest/Models/MappingProfile.cs
  3. 2
      WebTest/Models/Shop/Shop.cs

2
WebTest/Models/APIModel/Shop/ShopResponse.cs

@ -26,7 +26,7 @@ namespace WebTest.Models
public string AppToken2 { get; set; }
//public IList<PurchaseAccountResponse> PurchaseList { get; set; }
public IList<PurchaseAccountResponse> PurchaseList { get; set; }
public string ManagePwd { get; set; }

4
WebTest/Models/MappingProfile.cs

@ -11,8 +11,8 @@ namespace WebTest.Models
.ForMember(t => t.Name, opt => opt.MapFrom(f => f.UserName));
CreateMap<ShopResponse, Shop>().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<PurchaseAccountResponse, PurchaseAccount>();
CreateMap<DepartmentResponse, Department>();

2
WebTest/Models/Shop/Shop.cs

@ -38,7 +38,7 @@ namespace WebTest
public string ShopName { get => shopName; set { Set(ref shopName, value); } }
//public IList<PurchaseAccount> PurchaseAccountList { get; set; }
public IList<PurchaseAccount> PurchaseAccountList { get; set; }
public string ManagePwd { get; set; }
/// <summary>

Loading…
Cancel
Save