refactor(projects): axios封装:文件夹规范,错误处理完善

This commit is contained in:
Soybean
2021-11-22 18:31:57 +08:00
parent c81221efac
commit 451c7547af
10 changed files with 88 additions and 46 deletions

View File

@ -1 +1,8 @@
export {};
import { request } from '../request';
/**
* 获取数据字典
*/
export async function fetchDictionary(keyword: string) {
await request.post('/ehe/model/getByIndicator', { indiCatorName: keyword });
}