From 30c60689fd9d1183c49143ecd67541f7b2de3b24 Mon Sep 17 00:00:00 2001 From: "DESKTOP-4RNDQIC\\29019" <290198252@qq.com> Date: Mon, 7 Sep 2020 00:19:55 +0800 Subject: [PATCH] =?UTF-8?q?//todo=20=E5=AE=8C=E5=96=84=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9A=84=E5=AE=89=E5=85=A8=E6=80=A7=EF=BC=8C?= =?UTF-8?q?=E6=97=A0token=E4=B8=8D=E8=AE=A9=E8=AF=B7=E6=B1=82=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=EF=BC=8C=E5=9F=BA=E4=BA=8Etoken=20+=20session?= =?UTF-8?q?=E7=9A=84=E8=AE=A4=E8=AF=81=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controller/user.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/user.go b/controller/user.go index 2693a3a..5c5284f 100644 --- a/controller/user.go +++ b/controller/user.go @@ -281,6 +281,7 @@ func (this *UserController) Login(c *gin.Context) { } //存储session session := sessions.Get(c) + log.Println("set session", string(sessionInfo)) session.Set("", string(sessionInfo)) //session. var Options *sessions.Options