From 4d30e087c63f1e407dba68213e627b5883a3b414 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Thu, 19 Sep 2024 18:33:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A8=83=E5=A8=83=E5=85=8C=E6=8F=9B=E8=A8=98?= =?UTF-8?q?=E9=8C=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/action_bag.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/worldsrv/action_bag.go b/worldsrv/action_bag.go index 431b941..c2a2063 100644 --- a/worldsrv/action_bag.go +++ b/worldsrv/action_bag.go @@ -3,6 +3,7 @@ package main import ( "fmt" "math/rand" + "strconv" "time" "mongo.games.com/goserver/core/basic" @@ -579,8 +580,8 @@ func CSDollChangeLog(s *netlib.Session, packetid int, data interface{}, sid int6 info.UserName = log.UserName info.UserTel = log.UserTel info.Addr = log.Addr - info.CreateTs = log.CreateTs.String() - info.OpTs = log.OpTs.String() + info.CreateTs = strconv.FormatInt(log.CreateTs, 10) + info.OpTs = strconv.FormatInt(log.OpTs, 10) info.Remark = log.Remark pack.Info = append(pack.Info, info) }