ソースを参照

过滤下架产品

kobe6258 6 ヶ月 前
コミット
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,
 	}
 }