- fk
This commit is contained in:
@@ -817,7 +817,9 @@ func AddStoreCourierMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendorID
|
||||
}
|
||||
}
|
||||
outStoreCourierMap = storeCourierMap
|
||||
_, err = CurVendorSync.SyncStore(ctx, db, storeCourierMap.VendorID, storeID, false, userName)
|
||||
if err == nil {
|
||||
_, err = CurVendorSync.SyncStore(ctx, db, storeCourierMap.VendorID, storeID, false, userName)
|
||||
}
|
||||
} else {
|
||||
dao.Rollback(db)
|
||||
}
|
||||
@@ -906,6 +908,9 @@ func updateOrCreateDadaStore(storeDetail *dao.StoreDetail2) (err error) {
|
||||
}
|
||||
err = api.DadaAPI.ShopUpdate(storeDetail.DadaStoreID, params)
|
||||
}
|
||||
if err != nil {
|
||||
globals.SugarLogger.Debugf("updateOrCreateDadaStore storeID:%d failed with error:%v", storeDetail.ID, err)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user