修正字段名不同的问题
This commit is contained in:
@@ -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
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user