refactor(order): 优化订单列表性能并移除冗余推荐人信息

- 移除经销商页面中的推荐人显示信息
- 将订单商品详情从单独接口请求改为直接从分页接口获取,避免N+1查询问题
- 添加normalizeOrderGoodsList函数实现订单商品数据结构标准化
- 统一门店名称文字颜色样式为灰色
- 简化支付工具类中的重复API端点调用
This commit is contained in:
2026-02-01 11:51:28 +08:00
parent a2e34466d5
commit dea40268fe
5 changed files with 34 additions and 31 deletions

View File

@@ -108,7 +108,7 @@ const DealerIndex: React.FC = () => {
<View className="text-sm" style={{
color: 'rgba(255, 255, 255, 0.8)'
}}>
ID: {dealerUser.userId} | : {dealerUser.refereeId || '无'}
ID: {dealerUser.userId}
</View>
</View>
<View className="text-right hidden">