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