feat(web): add tenant and user management pages
This commit is contained in:
@@ -12,7 +12,7 @@ export function listTenants() {
|
||||
return client.get('/api/v1/account/tenant/list')
|
||||
}
|
||||
|
||||
export function createUser(data: { username: string; password: string; realName?: string }) {
|
||||
export function createUser(data: { username: string; password: string; realName?: string; roleCodes?: string[] }) {
|
||||
return client.post('/api/v1/account/user', data)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user