添加自动获取品牌
This commit is contained in:
@@ -1038,6 +1038,7 @@ func (a *API) GetJdUpcCodeByName(name, upcCode string, pageNo, pageSize int) (pr
|
||||
UpcCode: v.(map[string]interface{})["upcCode"].(string),
|
||||
Weight: float32(utils.Interface2Float64WithDefault(v.(map[string]interface{})["weight"], 0) * 1000),
|
||||
ImgList: ImgList,
|
||||
BrandName: v.(map[string]interface{})["brandName"].(string),
|
||||
}
|
||||
productInfos = append(productInfos, productInfo)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user