aa
This commit is contained in:
@@ -1878,9 +1878,9 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
||||
}
|
||||
dao.GetRows(db, &storeMaps, sql, sqlParams)
|
||||
for _, v := range storeMaps {
|
||||
err = api.JdShop2API.CreateGisFence(v.StoreID, 3)
|
||||
err = api.JdShop2API.CreateGisFence(utils.Str2Int(v.VendorStoreID), 3)
|
||||
if err != nil {
|
||||
err2 := api.JdShop2API.CreateGisFence(v.StoreID, 2)
|
||||
err2 := api.JdShop2API.CreateGisFence(utils.Str2Int(v.VendorStoreID), 2)
|
||||
if err2 != nil {
|
||||
stores = append(stores, v.StoreID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user