银豹修改价格尝试

This commit is contained in:
苏尹岚
2020-03-27 14:44:53 +08:00
parent 48605c7452
commit acb5d37888
2 changed files with 4 additions and 0 deletions

View File

@@ -523,6 +523,9 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
v.Price = price
}
}
if len(priceList) > 0 {
fmt.Println(utils.Format4Output(priceList, false))
}
}
task := tasksch.NewParallelTask("syncStoreSkuNew", tasksch.NewParallelConfig().SetParallelCount(1).SetIsContinueWhenError(isContinueWhenError2), ctx,
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {

View File

@@ -49,6 +49,7 @@ type StoreSkuInfo struct {
ActPrice int64 `json:"actPrice,omitempty"`
VendorActID string `json:"vendorActID,omitempty"`
IsSpecialty int `json:"isSpecialty,omitempty"`
Price int `json:"jxPrice,omitempty"`
}
type StoreSkuInfoWithErr struct {