Commit f16f3a9d154c607dcd24529620afcd148d384d6b
1 parent
eaf9b6d6
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/function.go
... | ... | @@ -152,6 +152,7 @@ func (u *UserData) GenerateFlyBoxID() int { |
152 | 152 | } |
153 | 153 | for _, v := range cflist { |
154 | 154 | tmprate += int(v.Rate * 100 / sumrate) |
155 | + logger.Info("GenerateFlyBoxID randnum=%v tmprate=%v", randnum, tmprate) | |
155 | 156 | if tmprate >= randnum { |
156 | 157 | idx = v.Id |
157 | 158 | break | ... | ... |