|
@@ -12,15 +12,6 @@ export const loginApi = async (data: object) => {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// * 新接口
|
|
|
|
|
-export const newApi = async (data: object) => {
|
|
|
|
|
- try {
|
|
|
|
|
- const resonse = await http(RequestHttpEnum.POST)(`新接口的路劲/xxx/xxx`, data)
|
|
|
|
|
- } catch (error) {
|
|
|
|
|
- httpErrorHandle();
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
// * 登出
|
|
// * 登出
|
|
|
export const logoutApi = async () => {
|
|
export const logoutApi = async () => {
|
|
|
try {
|
|
try {
|