Commit e67de2897aa633b55c45d931a7e767fa89190f57
1 parent
864e580d
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
@@ -725,7 +725,8 @@ func HandlerGetcash(w http.ResponseWriter, data string, uuid int) { | @@ -725,7 +725,8 @@ func HandlerGetcash(w http.ResponseWriter, data string, uuid int) { | ||
725 | break | 725 | break |
726 | } | 726 | } |
727 | } else { | 727 | } else { |
728 | - if uinfo.Highestlv < info.Limitlv || uinfo.SumLoginDay < info.LoginDayLimit { | 728 | + _, highlv := uinfo.CalcHigestCatName() |
729 | + if highlv < info.Limitlv || uinfo.SumLoginDay < info.LoginDayLimit { | ||
729 | logger.Error("HandlerGetcash notfit failed=%v", err) | 730 | logger.Error("HandlerGetcash notfit failed=%v", err) |
730 | resp.Code = 1 | 731 | resp.Code = 1 |
731 | resp.Message = "提现条件不满足" | 732 | resp.Message = "提现条件不满足" |