diff --git a/src/plugins/built_in/maizone_refactored/services/qzone_service.py b/src/plugins/built_in/maizone_refactored/services/qzone_service.py index 46a80ac30..b9ffcc18c 100644 --- a/src/plugins/built_in/maizone_refactored/services/qzone_service.py +++ b/src/plugins/built_in/maizone_refactored/services/qzone_service.py @@ -785,13 +785,14 @@ class QZoneService: return False async def _reply(fid, host_qq, target_name, content, comment_tid): - """回复评论""" + """回复评论 - 修复为能正确提醒的回复格式""" try: + # 修复回复逻辑:确保能正确提醒被回复的人 data = { - "topicId": f"{host_qq}_{fid}__{comment_tid}", + "topicId": f"{host_qq}_{fid}__1", # 使用标准评论格式,而不是针对特定评论 "uin": uin, "hostUin": host_qq, - "content": content, + "content": f"回复@{target_name}:{content}", # 内容中明确标示回复对象 "format": "fs", "plat": "qzone", "source": "ic", @@ -799,7 +800,7 @@ class QZoneService: "ref": "feeds", "richtype": "", "richval": "", - "paramstr": f"@{target_name} {content}", + "paramstr": f"@{target_name}", # 确保触发@提醒机制 } await _request("POST", self.REPLY_URL, params={"g_tk": gtk}, data=data) return True