feat: add admin login

This commit is contained in:
yanghao05
2025-04-16 19:55:32 +08:00
parent 8d601d456e
commit e95fc65f5f
11 changed files with 241 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
import { http } from '@/utils/http';
export const authService = {
login(username, password) {
return http.post('/admin/auth/login', { username, password });
},
};