aa
This commit is contained in:
@@ -1861,7 +1861,8 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
||||
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
||||
storeMap := batchItemList[0].(*model.StoreMap)
|
||||
FreeBatchInfo("uuuuu2", func(task tasksch.ITask, batchedStoreSkuList []int64) (result interface{}, successCount int, err error) {
|
||||
priceInfo, _ := apimanager. //GetStationInfoList(storeMap.VendorStoreID, batchedStoreSkuList)
|
||||
api := jd.GetAPI("320406")
|
||||
priceInfo, _ := api.GetStationInfoList(storeMap.VendorStoreID, batchedStoreSkuList)
|
||||
var list []*jdapi.SkuIdEntity
|
||||
for _, vv := range priceInfo {
|
||||
if vv.VipPrice != 0 {
|
||||
@@ -1871,7 +1872,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
||||
}
|
||||
}
|
||||
if len(list) > 0 {
|
||||
err = api.JdAPI.DelVipPrice(utils.Int2Str(storeMap.StoreID), list)
|
||||
err = api.DelVipPrice(utils.Int2Str(storeMap.StoreID), list)
|
||||
}
|
||||
return result, 0, err
|
||||
}, ctx, task, vendorThingIDs, 50, true)
|
||||
|
||||
Reference in New Issue
Block a user