beta
This commit is contained in:
@@ -8,6 +8,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"git.rosy.net.cn/jx-callback/business/partner/putils"
|
||||||
|
|
||||||
"git.rosy.net.cn/jx-callback/business/auth2/authprovider/weixin"
|
"git.rosy.net.cn/jx-callback/business/auth2/authprovider/weixin"
|
||||||
"git.rosy.net.cn/jx-callback/business/partner/delivery"
|
"git.rosy.net.cn/jx-callback/business/partner/delivery"
|
||||||
"github.com/360EntSecGroup-Skylar/excelize"
|
"github.com/360EntSecGroup-Skylar/excelize"
|
||||||
@@ -1810,7 +1812,10 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
|||||||
}
|
}
|
||||||
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)
|
putils.FreeBatchStoreSkuInfo("更新门店商品价格", func(task tasksch.ITask, batchedStoreSkuList []*partner.StoreSkuInfo) (result interface{}, successCount int, err error) {
|
||||||
|
handler.UpdateStoreSkusPrice(ctx, vendorOrgCode, 0, k, v)
|
||||||
|
return nil, 0, err
|
||||||
|
}, ctx, nil, v, 50, true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if len(statusList1) > 0 {
|
if len(statusList1) > 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user