diff --git a/app/services/wechat_service.py b/app/services/wechat_service.py index 7890ed7..4c93225 100644 --- a/app/services/wechat_service.py +++ b/app/services/wechat_service.py @@ -417,9 +417,11 @@ class WeChatService: return False try: access_token = await self._get_access_token() - article = {"title": title, "description": description} - if url: - article["url"] = url + article = { + "title": title, + "description": description, + "url": url or "https://work.weixin.qq.com", + } if picurl: article["picurl"] = picurl