feat: 在 SendForward 函数中添加日志记录以输出回复内容,增强调试能力
This commit is contained in:
parent
04b0b5d754
commit
7d3da26eb2
@ -3,6 +3,7 @@ package action
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"log"
|
||||
"strconv"
|
||||
"sync"
|
||||
"time"
|
||||
@ -69,6 +70,7 @@ func (am *actionManager) SendMsg(reply *model.Reply) error {
|
||||
}
|
||||
|
||||
func (am *actionManager) SendForward(reply *model.Reply) error {
|
||||
log.Println(reply)
|
||||
am.sendMtx.Lock()
|
||||
defer am.sendMtx.Unlock()
|
||||
userID := strconv.FormatInt(reply.FromMsg.UserId, 10)
|
||||
|
Loading…
x
Reference in New Issue
Block a user