Commit 976dff94 authored by chenweijian's avatar chenweijian

1v1游戏

parent 9ccd55a5
......@@ -3,7 +3,6 @@ package game_c
import (
"context"
"encoding/json"
"git.hilo.cn/hilo-common/mylogrus"
"git.hilo.cn/hilo-common/resource/redisCli"
"hilo-group/_const/enum/game_e"
"time"
......@@ -21,7 +20,6 @@ type gameAutoJoinMsg struct {
func SetAutoMathEnterRoom(userId uint64, imGroupId, traceId, token, enterType, gameCode, is1V1, gameMode, is1V1Robot string) error {
key := game_e.GetAutoMathEnterRoom(userId, imGroupId)
mylogrus.MyLog.Infof("Start1V1AfterEnterRoom is1V1Robot:%s, userId:%d, imGroupId:%v", is1V1Robot, userId, imGroupId)
info := gameAutoJoinMsg{traceId, token, enterType, gameCode, is1V1, gameMode, is1V1Robot}
data, err := json.Marshal(info)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment