vben
authored
|
1
2
3
|
import { defHttp } from '/@/utils/http/axios';
enum Api {
|
vben
authored
|
4
|
// The address does not exist
|
vben
authored
|
5
6
7
8
|
Error = '/error',
}
/**
|
vben
authored
|
9
|
* @description: Trigger ajax error
|
vben
authored
|
10
|
*/
|
Vben
authored
|
11
|
|
Vben
authored
|
12
|
export const fireErrorApi = () => defHttp.get({ url: Api.Error });
|