error.js 312 Bytes
Newer Older
1 2 3 4 5 6
import request from '../utils/request';

export async function query404() {
  return request('/api/404');
}

7 8 9 10
export async function query401() {
  return request('/api/401');
}

11 12 13 14 15 16 17
export async function query403() {
  return request('/api/403');
}

export async function query500() {
  return request('/api/500');
}