beta
This commit is contained in:
@@ -1794,10 +1794,6 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
||||
v.VendorPrice = a.VendorPrice
|
||||
priceList[jdStoreID] = append(priceList[jdStoreID], v)
|
||||
}
|
||||
if v.VendorSkuID == "2004219005" {
|
||||
fmt.Println(utils.Format4Output(v, false))
|
||||
fmt.Println(utils.Format4Output(a, false))
|
||||
}
|
||||
if a.Status != v.Status {
|
||||
v.Status = a.Status
|
||||
if v.Status == model.SkuStatusNormal {
|
||||
@@ -1812,12 +1808,10 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
||||
}
|
||||
}
|
||||
}
|
||||
fmt.Println("statusList2", utils.Format4Output(statusList2, false))
|
||||
|
||||
if len(priceList) > 0 {
|
||||
// for k, v := range priceList {
|
||||
// handler.UpdateStoreSkusPrice(ctx, vendorOrgCode, 0, k, v)
|
||||
// }
|
||||
for k, v := range priceList {
|
||||
handler.UpdateStoreSkusPrice(ctx, vendorOrgCode, 0, k, v)
|
||||
}
|
||||
}
|
||||
if len(statusList1) > 0 {
|
||||
// for k, v := range statusList1 {
|
||||
|
||||
Reference in New Issue
Block a user