refactor: 重构项目接口与API调用体系,统一类型管理
1. 合并拆分的API类型定义到统一的api/interface.ts文件 2. 删除旧的api/client.ts与api/types.ts文件 3. 重构所有页面与组件的API调用方式,统一使用api/index.ts导出的接口 4. 调整组件文件结构,将分散的组件按模块整理 5. 统一类型导入路径,移除冗余的类型重复定义
This commit is contained in:
3
src/Log/interface.ts
Normal file
3
src/Log/interface.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import type { RequestLog } from "../api";
|
||||
|
||||
export type { RequestLog };
|
||||
Reference in New Issue
Block a user