mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 16:07:33 +08:00
show current profile in user profile page
This commit is contained in:
@@ -72,6 +72,9 @@ export default {
|
||||
refreshToken: () => {
|
||||
return axios.post('v1/tokens/refresh.json');
|
||||
},
|
||||
getProfile: () => {
|
||||
return axios.get('v1/users/profile/get.json');
|
||||
},
|
||||
updateProfile: ({ email, nickname, password }) => {
|
||||
return axios.post('v1/users/profile/update.json', {
|
||||
email,
|
||||
|
||||
Reference in New Issue
Block a user