Khởi tạo ban đầu
This commit is contained in:
6
controller/AuthController.ts
Normal file
6
controller/AuthController.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { api } from "@/config";
|
||||
import { API_PATH_LOGIN } from "@/constants";
|
||||
|
||||
export async function queryLogin(body: Model.LoginRequestBody) {
|
||||
return api.post<Model.LoginResponse>(API_PATH_LOGIN, body);
|
||||
}
|
||||
Reference in New Issue
Block a user