lich0821/WeChatFerry

[Go Http客户端] 朋友圈消息无法成功保存到数据库

Closed this issue · 1 comments

原因是刷新朋友圈之后获取到的朋友圈信息的id超过的数据库message表id(int)的范围

报错信息:

time=2024-08-14T10:16:18.650+08:00 level=ERROR msg="trace error" Logger=gorm error="sql: converting argument $1 type: uint64 values with high bit set are not supported" sql="INSERT INTO message (id,is_self,is_group,type,ts,roomid,content,sender,sign,thumb,extra,xml,remark,created_at,updated_at) VALUES (14458594525450547936,false,false,0,1723598781,"-","********************","wxid_p19dofnd1zpj22","","","","000<title></title><title></title><url type=""1"" md5=""a7406f99e52c2983141531f644756ced""><thumb type=""1""><size totalSize=""51150.0"" width=""800.0"" height=""800.0""><location poiClassifyId="""" poiName="""" poiAddress="""" poiClassifyType=""0"" city="""">","",1723601778,1723601778) RETURNING rd" rows=0 elapsed=9.5544ms

请按格式报 bug 并提供足够的复现信息。随时重新打开。