From 1460f2a5d7bececcffb45474975e740a710675fa Mon Sep 17 00:00:00 2001 From: xaoyaoo Date: Sat, 3 Aug 2024 18:08:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E6=9F=A5=E8=AF=A2=EF=BC=8C?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=98=BE=E7=A4=BA=E2=80=9D=E8=AE=A2=E9=98=85?= =?UTF-8?q?=E5=8F=B7=E2=80=9C=E8=BF=99=E4=B8=AAwxid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pywxdump/db/dbMicro.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pywxdump/db/dbMicro.py b/pywxdump/db/dbMicro.py index 171ddba..fec5e0e 100644 --- a/pywxdump/db/dbMicro.py +++ b/pywxdump/db/dbMicro.py @@ -84,6 +84,7 @@ class MicroHandler(DatabaseBase): "JOIN Session S ON S.strUsrName = SubQuery.strUsrName AND S.nTime = SubQuery.MaxnTime " "left join Contact C ON C.UserName = S.strUsrName " "LEFT JOIN ContactHeadImgUrl H ON C.UserName = H.usrName " + "WHERE S.strUsrName!='@publicUser' " "ORDER BY S.nOrder DESC;" ) ret = self.execute(sql) @@ -106,6 +107,7 @@ class MicroHandler(DatabaseBase): "wxid": strUsrName, "nOrder": nOrder, "nUnReadCount": nUnReadCount, "strNickName": strNickName, "nStatus": nStatus, "nIsSend": nIsSend, "strContent": strContent, "nMsgLocalID": nMsgLocalID, "nMsgStatus": nMsgStatus, "nTime": nTime, "nMsgType": nMsgType, "nMsgSubType": nMsgSubType, + "LastReadedCreateTime": nTime, "nickname": NickName, "remark": Remark, "account": Alias, "describe": describe, "headImgUrl": bigHeadImgUrl if bigHeadImgUrl else "", "ExtraBuf": ExtraBuf, "LabelIDList": tuple(LabelIDList)