refactor: 重构项目结构并优化代码

- 删除无用的文件和错误日志
- 创建统一的 imports 模块集中管理依赖
- 重构组件使用新的 imports 方式
- 修复文档路径大小写问题
- 优化类型定义和接口导出
- 更新依赖版本
- 改进错误处理和API配置
- 统一组件导出方式
This commit is contained in:
2026-03-27 16:56:06 +08:00
parent 2748456d8a
commit 22308fe042
337 changed files with 37060 additions and 57483 deletions

View File

@@ -0,0 +1,46 @@
export { productDataSource } from '../services/productDataSource';
export { orderDataSource } from '../services/orderDataSource';
export { marketingDataSource } from '../services/marketingDataSource';
export { dashboardDataSource } from '../services/dashboardDataSource';
export { inventoryDataSource } from '../services/inventoryDataSource';
export { financeDataSource } from '../services/financeDataSource';
export { suppliersDataSource } from '../services/suppliersDataSource';
export { returnDataSource } from '../services/returnDataSource';
export { settingsDataSource } from '../services/settingsDataSource';
export { userDataSource } from '../services/userDataSource';
export { abTestDataSource } from '../services/abTestDataSource';
export { adOptimizationDataSource } from '../services/adOptimizationDataSource';
export { afterSalesDataSource } from '../services/afterSalesDataSource';
export { aiActionTaskDataSource } from '../services/aiActionTaskDataSource';
export { aiSuggestionDataSource } from '../services/aiSuggestionDataSource';
export { analyticsDataSource } from '../services/analyticsDataSource';
export { arbitrageDataSource } from '../services/arbitrageDataSource';
export { autoExecutionDataSource } from '../services/autoExecutionDataSource';
export { b2bTradeDataSource } from '../services/b2bTradeDataSource';
export { batchOperationDataSource } from '../services/batchOperationDataSource';
export { blacklistDataSource } from '../services/blacklistDataSource';
export { certificateDataSource } from '../services/certificateDataSource';
export { clientDataSource } from '../services/clientDataSource';
export { crossBorderIntegrationDataSource } from '../services/crossBorderIntegrationDataSource';
export { dynamicPricingDataSource } from '../services/dynamicPricingDataSource';
export { executionResultDataSource } from '../services/executionResultDataSource';
export { humanApprovalDataSource } from '../services/humanApprovalDataSource';
export { independentSiteDataSource } from '../services/independentSiteDataSource';
export { leaderboardDataSource } from '../services/leaderboardDataSource';
export { lightweightClientService } from '../services/lightweightClientService';
export { logisticsDataSource } from '../services/logisticsDataSource';
export { materialProcessingDataSource } from '../services/materialProcessingDataSource';
export { operationAgentDataSource } from '../services/operationAgentDataSource';
export { platformAuthDataSource } from '../services/platformAuthDataSource';
export { procurementDataSource } from '../services/procurementDataSource';
export { ProductManagementMockDataSource } from '../services/productManagementDataSource';
export { productSelectionDataSource } from '../services/productSelectionDataSource';
export { reportsDataSource } from '../services/reportsDataSource';
export { saasTenantDataSource } from '../services/saasTenantDataSource';
export { serviceManagerDataSource } from '../services/serviceManagerDataSource';
export { shopReportDataSource } from '../services/shopReportDataSource';
export { storeCreationDataSource } from '../services/storeCreationDataSource';
export { taskCenterDataSource } from '../services/taskCenterDataSource';
export { unifiedFulfillmentDataSource } from '../services/unifiedFulfillmentDataSource';
export { userAssetDataSource } from '../services/userAssetDataSource';
export { warehouseDataSource } from '../services/warehouseDataSource';