feat: 重构订单和物流信息展示格式
主要改动: - 订单列表:使用 order_list 格式,展示 5 个订单(全部状态) - 订单详情:使用 order_detail 格式,优化价格和时间显示 - 物流信息:使用 logistics 格式,根据 track id 动态生成步骤 - 商品图片:从 orderProduct.imageUrl 字段获取 - 时间格式:统一为 YYYY-MM-DD HH:MM:SS - 多语言支持:amountLabel、orderTime 支持中英文 - 配置管理:新增 FRONTEND_URL 环境变量 - API 集成:改进 Mall API tracks 数据解析 - 认证优化:account_id 从 webhook 动态获取 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -33,6 +33,9 @@ class Settings(BaseSettings):
|
||||
# ============ Hyperf API ============
|
||||
hyperf_api_url: str = Field(..., description="Hyperf API URL")
|
||||
hyperf_api_token: str = Field(..., description="Hyperf API Token")
|
||||
|
||||
# ============ Frontend URLs ============
|
||||
frontend_url: str = Field(default="https://www.qa1.gaia888.com", description="Frontend URL for order details")
|
||||
|
||||
# ============ MCP Servers ============
|
||||
strapi_mcp_url: str = Field(default="http://localhost:8001", description="Strapi MCP URL")
|
||||
|
||||
Reference in New Issue
Block a user