admin: add create-user dialog and API
Some checks failed
build quyun / Build (push) Failing after 1m23s

This commit is contained in:
2025-12-22 15:57:32 +08:00
parent 4704cf6949
commit 859d628cd6
5 changed files with 139 additions and 0 deletions

View File

@@ -11,6 +11,12 @@ export const userService = {
}
});
},
createUser({ phone, username } = {}) {
return httpClient.post('/users', {
phone,
username
});
},
searchUser(id) {
return httpClient.get(`/users/${id}`);
},