mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: use NumericArray to parse uids
This commit is contained in:
1 parent
38bee6415d
commit
4b48c0c164
3 files changed
+10
-2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user