refactor: 重构代码结构和类型定义,优化类型安全性和代码可维护性
- 添加类型定义文件和类型引用 - 删除废弃的页面模块和导出文件 - 新增聚合管理模块和插件系统 - 修复类型错误和潜在运行时问题 - 更新API基础URL和配置 - 优化组件类型定义和事件处理 - 重构数据源接口和实现 - 完善文档和开发进度记录
This commit is contained in:
@@ -32,7 +32,9 @@ export interface MerchantShop {
|
||||
export interface MerchantOrder {
|
||||
id: string;
|
||||
merchantId: string;
|
||||
merchantName: string;
|
||||
orderId: string;
|
||||
platform: string;
|
||||
totalAmount: number;
|
||||
status: string;
|
||||
createdAt: string;
|
||||
@@ -123,7 +125,9 @@ class MockMerchantDataSource implements IMerchantDataSource {
|
||||
{
|
||||
id: '1',
|
||||
merchantId: '1',
|
||||
merchantName: 'Test Company A',
|
||||
orderId: 'ORD-2026-001',
|
||||
platform: 'Amazon',
|
||||
totalAmount: 1500.00,
|
||||
status: 'COMPLETED',
|
||||
createdAt: '2026-03-15',
|
||||
|
||||
Reference in New Issue
Block a user