Commit 46434705cde0a648096cbd718f853eddef6392b9

Authored by 陆恒
1 parent 54d29037
Exists in master

提交

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/HttpServer/logic/logic.go
... ... @@ -140,7 +140,7 @@ func HandlerFetchredbag(w http.ResponseWriter, data string, uniqueuuid, gameid,
140 140 }
141 141  
142 142 //需要加上渠道才是唯一的玩家id,不同渠道视为不同数据
143   - uniqueuuid := strconv.Itoa(uuid) + rdata.Channel
  143 + uniqueuuid := strconv.Itoa(uuid) + channel
144 144 uinfo, err := GetUserInfo(uniqueuuid)
145 145 if err != nil || uinfo == nil {
146 146 logger.Error("redis failed err=%v", err)
... ... @@ -430,7 +430,7 @@ func HandlerGetcashwechat(w http.ResponseWriter, data string, uniqueuuid, gameid
430 430 }*/
431 431  
432 432 //需要加上渠道才是唯一的玩家id,不同渠道视为不同数据
433   - uniqueuuid := strconv.Itoa(uuid) + rdata.Channel
  433 + uniqueuuid := strconv.Itoa(uuid) + channel
434 434 uinfo, err := GetUserInfo(uniqueuuid)
435 435 if err != nil || uinfo == nil {
436 436 logger.Error("redis failed err=%v", err)
... ...