first commit

This commit is contained in:
TuanVT
2026-05-23 09:48:07 +07:00
parent 03b9101bd5
commit b6ccde2c74
134 changed files with 7178 additions and 110 deletions
+25
View File
@@ -0,0 +1,25 @@
import axiosClient from ".";
const authServices = {
login: (
data: {
username: string;
password: string;
ip: string;
address: string;
type: number;
},
tokenAxios?: any,
) => {
return axiosClient.post(`/Auth/login`, data, {
cancelToken: tokenAxios,
});
},
logout: (data: void, tokenAxios?: any) => {
return axiosClient.post(`/Auth/logout`, data, {
cancelToken: tokenAxios,
});
},
};
export default authServices;