feat:对接首页字典接口

This commit is contained in:
Xwen
2023-12-16 14:00:36 +08:00
parent 4c0375ac2c
commit a3703d9025
3 changed files with 46 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
import request from "@/config/axios/service";
/**
* 根据字典类型获取字典列表
* @param {*} dicType 字典类型
* @returns
*/
export function getDictionaryList(dicType) {
return request({
url: `/dictionary/dic-type/${dicType}`,
method: "get",
});
}