From 8bed17f82d619711b7a6ca55dc78b1404f6c834c Mon Sep 17 00:00:00 2001 From: icarus-ai <82353054+icarus-ai@users.noreply.github.com> Date: Thu, 14 Nov 2024 15:16:41 +0800 Subject: [PATCH] ... --- client/packets/oidb/group_sign.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/packets/oidb/group_sign.go b/client/packets/oidb/group_sign.go index 844aaba..0261ab5 100644 --- a/client/packets/oidb/group_sign.go +++ b/client/packets/oidb/group_sign.go @@ -14,7 +14,7 @@ type BotGroupClockInResult struct { KeepDayText string // 已打卡N天 GroupRankText string // 群内排名第N位 ClockInUtcTime int64 // 打卡时间 - DetailUrl string // Detail info url https://qun.qq.com/v2/signin/detail?... + DetailURL string // Detail info url https://qun.qq.com/v2/signin/detail?... } func BuildGroupSignPacket(botUin, groupUin uint32, appVersion string) (*Packet, error) { @@ -42,7 +42,7 @@ func ParseGroupSignResp(data []byte) (*BotGroupClockInResult, error) { ret := &BotGroupClockInResult{ Title: rsp.SignInWriteRsp.DoneInfo.Title, KeepDayText: rsp.SignInWriteRsp.DoneInfo.KeepDayText, - DetailUrl: rsp.SignInWriteRsp.DoneInfo.DetailUrl, + DetailURL: rsp.SignInWriteRsp.DoneInfo.DetailUrl, } if size := len(rsp.SignInWriteRsp.DoneInfo.ClockInInfo); size > 0 { ret.GroupRankText = rsp.SignInWriteRsp.DoneInfo.ClockInInfo[0]