aa
This commit is contained in:
@@ -1756,7 +1756,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
|||||||
`
|
`
|
||||||
dao.GetRows(db, &storeMaps, sql, nil)
|
dao.GetRows(db, &storeMaps, sql, nil)
|
||||||
// for _, v := range storeMaps {
|
// for _, v := range storeMaps {
|
||||||
task := tasksch.NewParallelTask("uuuuu", tasksch.NewParallelConfig().SetParallelCount(20).SetIsContinueWhenError(true), ctx,
|
task := tasksch.NewParallelTask("uuuuu", tasksch.NewParallelConfig().SetIsContinueWhenError(true), 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) {
|
||||||
v := batchItemList[0].(*model.StoreMap)
|
v := batchItemList[0].(*model.StoreMap)
|
||||||
// detail, _ := api.JdShop2API.ShopDetail(utils.Str2Int(v.VendorStoreID))
|
// detail, _ := api.JdShop2API.ShopDetail(utils.Str2Int(v.VendorStoreID))
|
||||||
|
|||||||
Reference in New Issue
Block a user