admin: add create-user dialog and API
Some checks failed
build quyun / Build (push) Failing after 1m23s
Some checks failed
build quyun / Build (push) Failing after 1m23s
This commit is contained in:
@@ -11,6 +11,12 @@ export const userService = {
|
||||
}
|
||||
});
|
||||
},
|
||||
createUser({ phone, username } = {}) {
|
||||
return httpClient.post('/users', {
|
||||
phone,
|
||||
username
|
||||
});
|
||||
},
|
||||
searchUser(id) {
|
||||
return httpClient.get(`/users/${id}`);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user