feat: support set user phone
This commit is contained in:
@@ -18,6 +18,11 @@ export const userService = {
|
||||
balance
|
||||
});
|
||||
},
|
||||
setPhone(id, phone) {
|
||||
return httpClient.post(`/users/${id}/phone`, {
|
||||
phone
|
||||
});
|
||||
},
|
||||
getUser(id) {
|
||||
return httpClient.get(`/users/${id}`);
|
||||
},
|
||||
@@ -35,4 +40,4 @@ export const userService = {
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user