银豹修改价格尝试
This commit is contained in:
@@ -523,6 +523,9 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
|
|||||||
v.Price = price
|
v.Price = price
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if len(priceList) > 0 {
|
||||||
|
fmt.Println(utils.Format4Output(priceList, false))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
task := tasksch.NewParallelTask("syncStoreSkuNew", tasksch.NewParallelConfig().SetParallelCount(1).SetIsContinueWhenError(isContinueWhenError2), ctx,
|
task := tasksch.NewParallelTask("syncStoreSkuNew", tasksch.NewParallelConfig().SetParallelCount(1).SetIsContinueWhenError(isContinueWhenError2), ctx,
|
||||||
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ type StoreSkuInfo struct {
|
|||||||
ActPrice int64 `json:"actPrice,omitempty"`
|
ActPrice int64 `json:"actPrice,omitempty"`
|
||||||
VendorActID string `json:"vendorActID,omitempty"`
|
VendorActID string `json:"vendorActID,omitempty"`
|
||||||
IsSpecialty int `json:"isSpecialty,omitempty"`
|
IsSpecialty int `json:"isSpecialty,omitempty"`
|
||||||
|
Price int `json:"jxPrice,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type StoreSkuInfoWithErr struct {
|
type StoreSkuInfoWithErr struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user