mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
refactor: 大规模代码整理与功能优化
1. 重构后端API路由、CRUD与模块结构,整合日志管理,移除废弃demo代码 2. 优化前端组件类型定义、样式与路由配置,修复权限判断逻辑 3. 调整默认排序规则、滚动条样式与工具类函数,更新依赖与配置文件 4. 修复多处类型不匹配与默认值问题,完善表单与菜单验证逻辑
This commit is contained in:
@@ -0,0 +1,128 @@
|
||||
[
|
||||
{
|
||||
"order_no": "202601010000001",
|
||||
"package_id": 2,
|
||||
"plugin_id": null,
|
||||
"order_type": "new",
|
||||
"amount": 29900,
|
||||
"period_count": 12,
|
||||
"pay_method": "alipay",
|
||||
"pay_time": "2026-01-01 10:30:00",
|
||||
"expire_time": "2026-01-01 10:45:00",
|
||||
"status": 1,
|
||||
"tenant_id": 3,
|
||||
"description": "星辰科技-标准版年付新购"
|
||||
},
|
||||
{
|
||||
"order_no": "202603150000001",
|
||||
"package_id": null,
|
||||
"plugin_id": 2,
|
||||
"order_type": "plugin",
|
||||
"amount": 9900,
|
||||
"period_count": 1,
|
||||
"pay_method": "wxpay",
|
||||
"pay_time": "2026-03-15 14:20:00",
|
||||
"expire_time": "2026-03-15 14:35:00",
|
||||
"status": 1,
|
||||
"tenant_id": 3,
|
||||
"description": "星辰科技-AI助手插件购买"
|
||||
},
|
||||
{
|
||||
"order_no": "202604010000001",
|
||||
"package_id": 4,
|
||||
"plugin_id": null,
|
||||
"order_type": "upgrade",
|
||||
"amount": 269900,
|
||||
"period_count": 12,
|
||||
"pay_method": "alipay",
|
||||
"pay_time": "2026-04-01 09:00:00",
|
||||
"expire_time": "2026-04-01 09:15:00",
|
||||
"status": 1,
|
||||
"tenant_id": 3,
|
||||
"description": "星辰科技-标准版升级为企业版"
|
||||
},
|
||||
{
|
||||
"order_no": "202602010000001",
|
||||
"package_id": 3,
|
||||
"plugin_id": null,
|
||||
"order_type": "new",
|
||||
"amount": 99900,
|
||||
"period_count": 6,
|
||||
"pay_method": "wxpay",
|
||||
"pay_time": "2026-02-01 11:00:00",
|
||||
"expire_time": "2026-02-01 11:15:00",
|
||||
"status": 3,
|
||||
"tenant_id": 4,
|
||||
"description": "创新工坊-专业版半年(已退款)"
|
||||
},
|
||||
{
|
||||
"order_no": "202605150000001",
|
||||
"package_id": null,
|
||||
"plugin_id": 4,
|
||||
"order_type": "plugin",
|
||||
"amount": 19900,
|
||||
"period_count": 1,
|
||||
"pay_method": null,
|
||||
"pay_time": null,
|
||||
"expire_time": "2026-05-15 16:45:00",
|
||||
"status": 2,
|
||||
"tenant_id": 4,
|
||||
"description": "创新工坊-工作流引擎(已取消)"
|
||||
},
|
||||
{
|
||||
"order_no": "202606010000001",
|
||||
"package_id": 2,
|
||||
"plugin_id": null,
|
||||
"order_type": "new",
|
||||
"amount": 29900,
|
||||
"period_count": 1,
|
||||
"pay_method": "alipay",
|
||||
"pay_time": "2026-06-01 08:30:00",
|
||||
"expire_time": "2026-06-01 08:45:00",
|
||||
"status": 1,
|
||||
"tenant_id": 4,
|
||||
"description": "创新工坊-标准版月付新购"
|
||||
},
|
||||
{
|
||||
"order_no": "202606100000001",
|
||||
"package_id": null,
|
||||
"plugin_id": 5,
|
||||
"order_type": "plugin",
|
||||
"amount": 4900,
|
||||
"period_count": 1,
|
||||
"pay_method": "wxpay",
|
||||
"pay_time": "2026-06-10 15:00:00",
|
||||
"expire_time": "2026-06-10 15:15:00",
|
||||
"status": 1,
|
||||
"tenant_id": 4,
|
||||
"description": "创新工坊-数据大屏插件购买"
|
||||
},
|
||||
{
|
||||
"order_no": "202606120000001",
|
||||
"package_id": 2,
|
||||
"plugin_id": null,
|
||||
"order_type": "renew",
|
||||
"amount": 269100,
|
||||
"period_count": 12,
|
||||
"pay_method": "alipay",
|
||||
"pay_time": "2026-06-12 10:00:00",
|
||||
"expire_time": "2026-06-12 10:15:00",
|
||||
"status": 1,
|
||||
"tenant_id": 3,
|
||||
"description": "星辰科技-企业版年付续费"
|
||||
},
|
||||
{
|
||||
"order_no": "202606120000002",
|
||||
"package_id": null,
|
||||
"plugin_id": null,
|
||||
"order_type": "new",
|
||||
"amount": 0,
|
||||
"period_count": 0,
|
||||
"pay_method": null,
|
||||
"pay_time": null,
|
||||
"expire_time": "2026-06-13 00:00:00",
|
||||
"status": 0,
|
||||
"tenant_id": 1,
|
||||
"description": "平台租户-测试待支付订单"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user