From daa3c34356d4a70750aa7e7eb5fd5debc988791b Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 10 Dec 2024 15:35:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=B3=A8=E9=94=80=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/hdl/hdl_user.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/hdl/hdl_user.go b/app/hdl/hdl_user.go index 26b10cf..1d0003d 100644 --- a/app/hdl/hdl_user.go +++ b/app/hdl/hdl_user.go @@ -5,11 +5,9 @@ import ( "applet/app/e" "applet/app/es/hdl" md2 "applet/app/es/md" - "applet/app/lib/auth" "applet/app/md" "applet/app/svc" "applet/app/utils" - "applet/app/utils/cache" "applet/app/utils/qrcode" "code.fnuoos.com/EggPlanet/egg_models.git/src/implement" "code.fnuoos.com/EggPlanet/egg_models.git/src/model" @@ -18,7 +16,6 @@ import ( "code.fnuoos.com/go_rely_warehouse/zyos_go_es.git/es" "code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git/rabbit" "context" - "fmt" "github.com/gin-gonic/gin" "github.com/olivere/elastic/v7" "github.com/syyongx/php2go" @@ -368,8 +365,8 @@ func Delete(c *gin.Context) { } } // 清掉token - cacheKey := fmt.Sprintf(auth.TokenKey, user.Id) - _, err = cache.SetEx(cacheKey, "", 1) + //cacheKey := fmt.Sprintf(auth.TokenKey, user.Id) + //_, err = cache.SetEx(cacheKey, "", 1) e.OutSuc(c, "success", nil) return }