fix: 修改 GenSendPkg 函数以正确使用 groupID,移除不必要的 userID 字段
This commit is contained in:
parent
0a7d2d63aa
commit
49be7aafb9
@ -45,7 +45,7 @@ func GenSendPkg(userID string, groupID string, message any, autoEscape bool, for
|
||||
return SendPkg{
|
||||
Action: constants.FORWARD_MSG_SEND,
|
||||
Params: UpstreamParams{
|
||||
UserID: userID,
|
||||
GroupID: groupID,
|
||||
Message: message,
|
||||
},
|
||||
}
|
||||
@ -53,7 +53,6 @@ func GenSendPkg(userID string, groupID string, message any, autoEscape bool, for
|
||||
return SendPkg{
|
||||
Action: constants.GROUP_MSG_SEND,
|
||||
Params: UpstreamParams{
|
||||
UserID: userID,
|
||||
GroupID: groupID,
|
||||
Message: message,
|
||||
AutoEscape: autoEscape,
|
||||
|
Loading…
x
Reference in New Issue
Block a user