Merge branch 'master' of https://gitee.com/290198252/background into master

master
zcy 2020-09-26 12:31:21 +08:00
commit 077ddffa99
1 changed files with 1 additions and 0 deletions

View File

@ -281,6 +281,7 @@ func (this *UserController) Login(c *gin.Context) {
} }
//存储session //存储session
session := sessions.Get(c) session := sessions.Get(c)
log.Println("set session", string(sessionInfo))
session.Set("", string(sessionInfo)) session.Set("", string(sessionInfo))
//session. //session.
var Options *sessions.Options var Options *sessions.Options