From 4b25b4dbf7bad84f9be5192db912314ca40581c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 7 Apr 2021 11:32:04 +0800 Subject: [PATCH] aa --- business/jxstore/tempop/tempop.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index 82228fcd4..635cf35b7 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -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)