Commit 75bce7fa39e09a2e93c5a6a18d198c39209aa329

Authored by 陆恒
1 parent bc5eb843
Exists in master

提交

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/HttpServer/logic/function.go
@@ -46,6 +46,7 @@ func NewCaiPiaoRound(start, end, count, round int) { @@ -46,6 +46,7 @@ func NewCaiPiaoRound(start, end, count, round int) {
46 46
47 savestr, err := json.Marshal(&curround) 47 savestr, err := json.Marshal(&curround)
48 if err != nil { 48 if err != nil {
  49 + logger.Error("NewCaiPiaoRound err=%v", err)
49 err = redishandler.GetRedisClient().SetString(redis.CAIPIAOKAIJIANGCURRENT_KEY, string(savestr)) 50 err = redishandler.GetRedisClient().SetString(redis.CAIPIAOKAIJIANGCURRENT_KEY, string(savestr))
50 if err != nil { 51 if err != nil {
51 logger.Error("NewCaiPiaoRound err=%v", err) 52 logger.Error("NewCaiPiaoRound err=%v", err)