浏览代码

过滤下架产品

kobe6258 4 月之前
父节点
当前提交
2448c0406c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      domian/merchant/merchant_product.go

+ 1 - 0
domian/merchant/merchant_product.go

@@ -73,6 +73,7 @@ func convertToDTO(product merchantDao.MerchantProduct) MerchantProductDTO {
 		IsPermanent: product.IsPermanent,
 		ValidDays:   product.ValidDays,
 		SourceId:    product.SourceID,
+		SaleStatus:  string(product.SaleStatus),
 		CreatedTime: product.CreatedTime,
 	}
 }