diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index d65a323..df02d31 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -187,6 +187,13 @@ func HandlerGetcash(w http.ResponseWriter, data string, uuid int) { break } + if uinfo.SumLoginDay < info.Day { + logger.Error("HandlerGetcash GetCashCnt err=%v", err) + resp.Message = "累计登陆天数不足" + resp.Code = ERROR_PRENOTFINISH + break + } + //2.2.5版本开启自动审核 checkcoin := 2 if rdata.Ver == "2.2.5" { -- libgit2 0.21.0