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