source:
client_app/src/repository/login_repo.js@
14b648e
Last change on this file since 14b648e was 3f5bf9e, checked in by , 4 years ago | |
---|---|
|
|
File size: 283 bytes |
Line | |
---|---|
1 | import axios from '../custom_axios/axios'; |
2 | |
3 | const UserLogin = { |
4 | login: (username, password, type) => { |
5 | return axios.post("/login", { |
6 | "account": username, |
7 | "password": password, |
8 | "type": type |
9 | }); |
10 | } |
11 | } |
12 | |
13 | export default UserLogin; |
Note:
See TracBrowser
for help on using the repository browser.