From ab1625d7aa29c9f4f80e3df5b3d6eee2a03f4910 Mon Sep 17 00:00:00 2001 From: xaoyaoo Date: Sun, 4 Feb 2024 11:35:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pywxdump/api/api.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pywxdump/api/api.py b/pywxdump/api/api.py index ad6b10e..d29a8f6 100644 --- a/pywxdump/api/api.py +++ b/pywxdump/api/api.py @@ -135,7 +135,7 @@ def contact_list(): @api.route('/api/chat_count', methods=["GET", 'POST']) def chat_count(): """ - 获取联系人列表 + 获取每个联系人的聊天记录数量 :return: """ try: @@ -154,7 +154,7 @@ def chat_count(): @api.route('/api/contact_count_list', methods=["GET", 'POST']) def contact_count_list(): """ - 获取联系人列表 + 获取联系人列表以及聊天记录数量 :return: """ try: @@ -194,6 +194,10 @@ def contact_count_list(): @api.route('/api/msgs_user_list',methods=['GET','POST']) @error9999 def get_msg_user_list(): + """ + 获取消息联系人列表 + :return: + """ msg_path = request.headers.get("msg_path") micro_path = request.headers.get("micro_path") if not msg_path: