Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
icarus-ai committed Nov 14, 2024
1 parent 705a30c commit 8bed17f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/packets/oidb/group_sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 8bed17f

Please sign in to comment.