style: 去除多余代码

This commit is contained in:
奔跑的面条 2022-06-24 11:44:26 +08:00
parent 91bda457e7
commit 1d7e40950f

View File

@ -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 {