导出饿百健康度bug修改
This commit is contained in:
@@ -1713,7 +1713,7 @@ func formalizeStore4Courier(storeDetail *dao.StoreDetail2) *dao.StoreDetail2 {
|
|||||||
|
|
||||||
type EbaiStoreHealthy struct {
|
type EbaiStoreHealthy struct {
|
||||||
RealShopID int `json:"门店ID"`
|
RealShopID int `json:"门店ID"`
|
||||||
MerchantID int `json:"平台门店ID"`
|
MerchantID string `json:"平台门店ID"`
|
||||||
MerchantName string `json:"平台门店名"`
|
MerchantName string `json:"平台门店名"`
|
||||||
SkuNum int `json:"日均在架且有库存的商品数"`
|
SkuNum int `json:"日均在架且有库存的商品数"`
|
||||||
IsSku int `json:"商品数是否达标"`
|
IsSku int `json:"商品数是否达标"`
|
||||||
@@ -1774,7 +1774,7 @@ func ExportShopsHealthInfo(ctx *jxcontext.Context, vendorIDs, storeIDs []int, is
|
|||||||
for _, v := range healthInfoList2 {
|
for _, v := range healthInfoList2 {
|
||||||
healthy := &EbaiStoreHealthy{
|
healthy := &EbaiStoreHealthy{
|
||||||
RealShopID: v["real_shop_id"].(int),
|
RealShopID: v["real_shop_id"].(int),
|
||||||
MerchantID: v["merchant_id"].(int),
|
MerchantID: v["merchant_id"].(string),
|
||||||
MerchantName: v["merchant_name"].(string),
|
MerchantName: v["merchant_name"].(string),
|
||||||
SkuNum: v["sku_num"].(int),
|
SkuNum: v["sku_num"].(int),
|
||||||
IsSku: v["is_sku"].(int),
|
IsSku: v["is_sku"].(int),
|
||||||
|
|||||||
Reference in New Issue
Block a user