Commit 5d157dd3ee79b7ea05cabfe544af1e3c771be1af

Authored by 陆恒
1 parent 0c0bbd67
Exists in ver2.3.0 and in 1 other branch ver2.2.8

提交

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 511 }
512 512 }
513 513  
514   - if exist {
  514 + if !exist {
515 515 u.WithDraw.Cashdata = append(u.WithDraw.Cashdata[:i], u.WithDraw.Cashdata[i+1:]...)
516 516 } else {
517 517 i++
... ...