This commit is contained in:
aaron 2025-03-30 13:24:29 +08:00
parent c907b1518c
commit 1b34452c1f
2 changed files with 1 additions and 0 deletions

View File

@ -234,6 +234,7 @@ class WecomClient:
async with session.get(url, params=params) as response: async with session.get(url, params=params) as response:
result = await response.json() result = await response.json()
if result.get("errcode") == 0: if result.get("errcode") == 0:
logger.info(f"获取外部联系人信息成功: {result}")
return result.get("external_contact") return result.get("external_contact")
else: else:
logger.error(f"获取外部联系人信息失败: {result}") logger.error(f"获取外部联系人信息失败: {result}")

Binary file not shown.