新增:全量优化

This commit is contained in:
yuantao
2025-11-05 16:20:06 +08:00
parent ca6bf7f211
commit 65656f1810
27 changed files with 2407 additions and 292 deletions

15
api/index.js Normal file
View File

@@ -0,0 +1,15 @@
/**
* API统一导出入口
*/
// 导入网络请求实例
import http from './request.js'
// 导入各业务模块
import user from './modules/user.js'
// 导出网络请求实例
export { http }
// 导出各业务模块
export { user }
// 默认导出包含所有模块的对象
export default {
user,
}