mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
support user sign up
This commit is contained in:
@@ -58,6 +58,14 @@ export default {
|
||||
}
|
||||
});
|
||||
},
|
||||
register: ({ username, email, nickname, password }) => {
|
||||
return axios.post('register.json', {
|
||||
username,
|
||||
email,
|
||||
nickname,
|
||||
password
|
||||
});
|
||||
},
|
||||
logout: () => {
|
||||
return axios.get('logout.json');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user