Appearance
import { get, put, post, del } from '@/api/axios.js'; export function getInfo(params) { return get('/getInfo', params); }
import { getInfo } from '@/api/common/login'; .... getInfo().then((res) => { if (res.code === 200) { .... } });