feat: add admin login
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { http } from '@/utils/http';
|
||||
import httpClient from './httpClient';
|
||||
|
||||
export const authService = {
|
||||
login(username, password) {
|
||||
return http.post('/admin/auth/login', { username, password });
|
||||
return httpClient.post('/admin/auth', { username, password });
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user