8 lines
176 B
JavaScript
8 lines
176 B
JavaScript
import httpClient from './httpClient';
|
|
|
|
export const authService = {
|
|
login(username, password) {
|
|
return httpClient.post('/auth', { username, password });
|
|
},
|
|
};
|