mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-25 02:40:16 +08:00
style: 去除多余代码
This commit is contained in:
parent
91bda457e7
commit
1d7e40950f
@ -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 () => {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user