Merge branch 'develop' into audit

This commit is contained in:
hahwu 2025-06-27 19:26:35 +08:00
commit aebbe6b07d

View File

@ -1836,7 +1836,7 @@ func ReqCardExchange(player *Player, buf []byte) error {
End: GoUtil.Now() + 86400,
Extra: *CardInfo,
}
player.AddLog(int(req.Uid), friend.LOG_TYPE_CARD_EX_SEND, "")
player.AddLog(int(req.Uid), friend.LOG_TYPE_CARD_EX_SEND, fmt.Sprintf("%d", int(req.CardId)))
player.PushClientRes(&msg.ResCardExchange{
Code: msg.RES_CODE_SUCCESS,