修正字段名不同的问题

This commit is contained in:
2026-06-19 22:15:46 +08:00
parent a06202d297
commit a7f43a4e74
8 changed files with 18 additions and 174 deletions

View File

@@ -193,6 +193,6 @@ def _get_local_partner_info(order):
logger.error(f"获取商家信息失败: {e}")
return None, None, None
else:
if order.user1_id:
return order.user1_id, "用户", _full_local_avatar('')
if order.User1ID:
return order.User1ID, "用户", _full_local_avatar('')
return None, None, None

View File

@@ -89,7 +89,7 @@ class GoEasyService:
"""
# user1_id 是老板/商家标识 (从订单中获取)
# user2_id 是打手标识
user1_id = order.user1_id
user1_id = order.User1ID
user2_id = f"Ds{dashou_yonghuid}"
if not user1_id or not user2_id: