From 5d157dd3ee79b7ea05cabfe544af1e3c771be1af Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Wed, 8 Jul 2020 11:01:48 +0800 Subject: [PATCH] 提亀 --- src/HttpServer/logic/function.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpServer/logic/function.go b/src/HttpServer/logic/function.go index ca90c27..8812acd 100644 --- a/src/HttpServer/logic/function.go +++ b/src/HttpServer/logic/function.go @@ -511,7 +511,7 @@ func (u *UserData) ReInitWithDraw(uniqueuid string) error { } } - if exist { + if !exist { u.WithDraw.Cashdata = append(u.WithDraw.Cashdata[:i], u.WithDraw.Cashdata[i+1:]...) } else { i++ -- libgit2 0.21.0