Commit 5d157dd3ee79b7ea05cabfe544af1e3c771be1af
1 parent
0c0bbd67
Exists in
ver2.3.0
and in
1 other branch
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/function.go
@@ -511,7 +511,7 @@ func (u *UserData) ReInitWithDraw(uniqueuid string) error { | @@ -511,7 +511,7 @@ func (u *UserData) ReInitWithDraw(uniqueuid string) error { | ||
511 | } | 511 | } |
512 | } | 512 | } |
513 | 513 | ||
514 | - if exist { | 514 | + if !exist { |
515 | u.WithDraw.Cashdata = append(u.WithDraw.Cashdata[:i], u.WithDraw.Cashdata[i+1:]...) | 515 | u.WithDraw.Cashdata = append(u.WithDraw.Cashdata[:i], u.WithDraw.Cashdata[i+1:]...) |
516 | } else { | 516 | } else { |
517 | i++ | 517 | i++ |