core: use NumericArray to parse uids

This commit is contained in:
undefined committed 2021-04-06 19:46:08 +08:00
1 parent 38bee6415d
commit 4b48c0c164
3 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -136,7 +136,7 @@ class DomainUserHandler extends ManageHandler {
this.back();
}
@param('uid', Types.Array)
@param('uid', Types.NumericArray)
@param('role', Types.String)
async postSetUsers(domainId: string, uid: number[], role: string) {
await domain.setUserRole(domainId, uid, role);