Merge branch 'develop' into sdk

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

View File

@ -1837,7 +1837,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,