sessionInit.go
func SessionInit(expire time.Duration, pool *conn.RedisPool, cookie http.Cookie) {
	sessExpire = expire
	redisPool = pool
	httpCookie = cookie
	httpCookie.MaxAge = int(sessExpire.Seconds())
	Use(session)
}
func SessionInit(expire time.Duration, pool *conn.RedisPool, cookie http.Cookie) {
	sessExpire = expire
	redisPool = pool
	httpCookie = cookie
	httpCookie.MaxAge = int(sessExpire.Seconds())
	Use(session)
}
// SessionInit 初始化并加载session中间件