feat: 在 SendForward 函数中添加日志记录以输出发送的消息包内容
This commit is contained in:
parent
6b43a7bb4e
commit
09b4edf387
@ -3,6 +3,7 @@ package action
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"log"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
@ -64,6 +65,7 @@ func (am *actionManager) SendForward(reply *model.Reply) error {
|
||||
defer am.sendMtx.Unlock()
|
||||
sendPkg := model.GenSendPkg(reply.FromMsg.UserId, reply.FromMsg.GroupInfo.GroupId, reply.ReplyMsg, false, true)
|
||||
sendPkgJson, err := json.Marshal(sendPkg)
|
||||
log.Println(string(sendPkgJson))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user