fixed 修改商品详情接口

This commit is contained in:
lwh 2023-07-20 16:14:49 +08:00
parent ab710a6f6e
commit 65d7c2461a
2 changed files with 7 additions and 21 deletions

View File

@ -117,36 +117,27 @@ namespace ARW.Model.Vo.Api.ShopManager.Shops
/// </summary>
public class ShopApiDetailsVo
{
[EpplusIgnore]
public int ShopId { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
[EpplusIgnore]
public long ShopGuid { get; set; }
[EpplusIgnore]
public int? ShopUserId { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
[EpplusIgnore]
public long? ShopCustomerGuid { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
[EpplusTableColumn(Header = "经营类目guid")]
public long ShopBusinessCategoryGuid { get; set; }
[EpplusTableColumn(Header = "图标")]
public string ShopLogo { get; set; }
[EpplusTableColumn(Header = "营业执照")]
public string ShopBusinessLicense { get; set; }
[EpplusTableColumn(Header = "名称")]
public string ShopName { get; set; }
[EpplusTableColumn(Header = "简介")]
public string ShopIntro { get; set; }
[EpplusTableColumn(Header = "排序")]
public int ShopSort { get; set; }
[EpplusTableColumn(Header = "销售单量")]
public int ShopSalesOrderCount { get; set; }
[EpplusTableColumn(Header = "审核状态")]
public int ShopAuditStatus { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
[EpplusTableColumn(Header = "审核人")]
public long ShopAuditUserGuid { get; set; }
}

View File

@ -125,17 +125,12 @@ namespace ARW.Service.Api.BusinessService.ShopManager.Shops
{
ShopId = s.ShopId,
ShopGuid = s.ShopGuid,
ShopUserId = s.ShopUserId,
ShopCustomerGuid = s.ShopCustomerGuid,
ShopBusinessCategoryGuid = s.ShopBusinessCategoryGuid,
ShopLogo = s.ShopLogo,
ShopBusinessLicense = s.ShopBusinessLicense,
ShopName = s.ShopName,
ShopIntro = s.ShopIntro,
ShopSort = s.ShopSort,
ShopSalesOrderCount = s.ShopSalesOrderCount,
ShopAuditStatus = s.ShopAuditStatus,
ShopAuditUserGuid = s.ShopAuditUserGuid,
}).Take(1);