Feat: user register / send activate email

This commit is contained in:
HFO4
2020-02-21 15:15:14 +08:00
parent 7c07b623f6
commit 81d6988a50
8 changed files with 126 additions and 9 deletions

View File

@@ -21,7 +21,6 @@ func SetSession(c *gin.Context, list map[string]interface{}) {
// GetSession 获取session
func GetSession(c *gin.Context, key string) interface{} {
s := sessions.Default(c)
Log().Debug("Key:%s Val:%s", key, s.Get(key))
return s.Get(key)
}