tl 1 year ago
parent
commit
907ea8a023
2 changed files with 2 additions and 1 deletions
  1. 1 1
      game/qznn/qznn.go
  2. 1 0
      online/online.go

+ 1 - 1
game/qznn/qznn.go

@@ -1661,7 +1661,7 @@ func CollectOpenNum(roomID, roomType int32, clientHash string) (string, error) {
 		return "", err
 	}
 
-	issueStr := fmt.Sprintf("%d%02d%02d", time_utils.GetZeroTime(timeNow).Unix(), roomID, nextIssue)
+	issueStr := fmt.Sprintf("%d%02d%02d", timeNow.Unix(), roomID, nextIssue)
 
 	//写入开奖结果
 	err = db.GetDB().Model(model.GameOpenLogQP{}).Create(&model.GameOpenLogQP{

+ 1 - 0
online/online.go

@@ -289,6 +289,7 @@ func SetReady(userID uint) {
 	userKey := GetKey(userID)
 	userObj, exists := OnlineUserCache.Get(userKey)
 	if !exists {
+		logrus.Error("用户不存在:", userID)
 		return
 	}