导出饿百健康度bug修改

This commit is contained in:
苏尹岚
2020-04-03 11:38:54 +08:00
parent b1f8bffaa6
commit 6de4fad4dc

View File

@@ -1713,7 +1713,7 @@ func formalizeStore4Courier(storeDetail *dao.StoreDetail2) *dao.StoreDetail2 {
type EbaiStoreHealthy struct {
RealShopID int `json:"门店ID"`
MerchantID int `json:"平台门店ID"`
MerchantID string `json:"平台门店ID"`
MerchantName string `json:"平台门店名"`
SkuNum int `json:"日均在架且有库存的商品数"`
IsSku int `json:"商品数是否达标"`
@@ -1774,7 +1774,7 @@ func ExportShopsHealthInfo(ctx *jxcontext.Context, vendorIDs, storeIDs []int, is
for _, v := range healthInfoList2 {
healthy := &EbaiStoreHealthy{
RealShopID: v["real_shop_id"].(int),
MerchantID: v["merchant_id"].(int),
MerchantID: v["merchant_id"].(string),
MerchantName: v["merchant_name"].(string),
SkuNum: v["sku_num"].(int),
IsSku: v["is_sku"].(int),