fix bug in SyncReorderCategories

This commit is contained in:
gazebo
2020-01-14 14:36:19 +08:00
parent 975d204bfb
commit 571b400229

View File

@@ -206,7 +206,7 @@ func (v *VendorSync) SyncReorderCategories(ctx *jxcontext.Context, db *dao.DaoDB
// if !globals.IsUseThingMap {
// return v.oldSyncReorderCategories(ctx, db, categoryID, isAsync, userName)
// }
return SyncReorderCategories(ctx, -1, isAsync)
return SyncReorderCategories(ctx, categoryID, isAsync)
}
// func (v *VendorSync) oldSyncReorderCategories(ctx *jxcontext.Context, db *dao.DaoDB, categoryID int, isAsync bool, userName string) (hint string, err error) {