beta
This commit is contained in:
@@ -1794,10 +1794,6 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
|||||||
v.VendorPrice = a.VendorPrice
|
v.VendorPrice = a.VendorPrice
|
||||||
priceList[jdStoreID] = append(priceList[jdStoreID], v)
|
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 {
|
if a.Status != v.Status {
|
||||||
v.Status = a.Status
|
v.Status = a.Status
|
||||||
if v.Status == model.SkuStatusNormal {
|
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 {
|
if len(priceList) > 0 {
|
||||||
// for k, v := range priceList {
|
for k, v := range priceList {
|
||||||
// handler.UpdateStoreSkusPrice(ctx, vendorOrgCode, 0, k, v)
|
handler.UpdateStoreSkusPrice(ctx, vendorOrgCode, 0, k, v)
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
if len(statusList1) > 0 {
|
if len(statusList1) > 0 {
|
||||||
// for k, v := range statusList1 {
|
// for k, v := range statusList1 {
|
||||||
|
|||||||
Reference in New Issue
Block a user