fix_api
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import request from "./src/api/http.js";
|
||||
import request from "../../http.js";
|
||||
import { type TrangleAgentApiLoginV1LoginRes, type DeepRequired, type TrangleAgentApiLoginV1LoginReq } from "../../interface";
|
||||
import { type AxiosRequestConfig } from "axios";
|
||||
|
||||
@@ -9,3 +9,4 @@ import { type AxiosRequestConfig } from "axios";
|
||||
export function postApiLogin(input?: TrangleAgentApiLoginV1LoginReq, config?: AxiosRequestConfig) {
|
||||
return request.post<DeepRequired<TrangleAgentApiLoginV1LoginRes>>(`/api/login`, input, config);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user