Commit 6d4dcd9478ea74e93b9e76083dd6292f12752771

Authored by 陆恒
1 parent 883b9bb3

提交

Showing 1 changed file with 7 additions and 0 deletions   Show diff stats
src/HttpServer/logic/logic.go
... ... @@ -187,6 +187,13 @@ func HandlerGetcash(w http.ResponseWriter, data string, uuid int) {
187 187 break
188 188 }
189 189  
  190 + if uinfo.SumLoginDay < info.Day {
  191 + logger.Error("HandlerGetcash GetCashCnt err=%v", err)
  192 + resp.Message = "累计登陆天数不足"
  193 + resp.Code = ERROR_PRENOTFINISH
  194 + break
  195 + }
  196 +
190 197 //2.2.5版本开启自动审核
191 198 checkcoin := 2
192 199 if rdata.Ver == "2.2.5" {
... ...