aa
This commit is contained in:
@@ -1881,15 +1881,23 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
||||
}
|
||||
dao.GetRows(db, &storeMaps, sql, sqlParams)
|
||||
for _, v := range storeMaps {
|
||||
err = api.JdShop2API.CreateGisFence(utils.Str2Int(v.VendorStoreID), "1.5")
|
||||
err = api.JdShop2API.CreateGisFence(utils.Str2Int(v.VendorStoreID), "2")
|
||||
if err != nil {
|
||||
err2 := api.JdShop2API.CreateGisFence(utils.Str2Int(v.VendorStoreID), "1")
|
||||
api.JdShop2API.CreateGisFence(utils.Str2Int(err.Error()), "2")
|
||||
err2 := api.JdShop2API.CreateGisFence(utils.Str2Int(v.VendorStoreID), "2")
|
||||
if err2 != nil {
|
||||
stores = append(stores, v.StoreID)
|
||||
api.JdShop2API.CreateGisFence(utils.Str2Int(err.Error()), "1")
|
||||
err3 := api.JdShop2API.CreateGisFence(utils.Str2Int(v.VendorStoreID), "2")
|
||||
if err3 != nil {
|
||||
err4 := api.JdShop2API.CreateGisFence(utils.Str2Int(v.VendorStoreID), "1")
|
||||
if err4 != nil {
|
||||
stores = append(stores, v.StoreID)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
fmt.Println("resultstore2", stores)
|
||||
fmt.Println("resultstore3", stores)
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user