Explorar el Código

chore(api): 更新接口

wangcong hace 3 meses
padre
commit
ea2128a7c8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/api/index.ts

+ 1 - 1
src/api/index.ts

@@ -59,7 +59,7 @@ export const refreshUser = async () => {
 
 // 字典类型表
 export const getDictTypeData = async (params: DictTypeDataParams) => {
-  const data = await request<DictTypeData[]>(apiSys('/sysDictType/TypeAndData/', params));
+  const data = await request<DictTypeData[]>(apiSys('/sysDictType/typeAndData/', params));
   return data;
 };