From 9a7bb842f7373f605e61cf2b7addb6a7ef580b94 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Thu, 31 Aug 2023 10:10:46 +0800 Subject: [PATCH] fix --- model/gmodel/fs_user_logic.go | 2 +- utils/check/limit.go | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/model/gmodel/fs_user_logic.go b/model/gmodel/fs_user_logic.go index 78b80054..7077dcad 100644 --- a/model/gmodel/fs_user_logic.go +++ b/model/gmodel/fs_user_logic.go @@ -272,7 +272,7 @@ func (u *FsUserModel) DebugAuthDelete(ctx context.Context, email string) (err er } } - return nil + return err }) return err diff --git a/utils/check/limit.go b/utils/check/limit.go index a116660f..b6814ef5 100644 --- a/utils/check/limit.go +++ b/utils/check/limit.go @@ -1 +1,7 @@ package check + +import "sync" + +type LimitAfter struct { + sync.Map +}