error.js 120 Bytes
Newer Older
1
import request from '@/utils/request';
2

3
export default async function query(code) {
4
  return request(`/api/${code}`);
5
}