|
@@ -1,14 +1,16 @@
|
|
|
package a
|
|
|
|
|
|
import (
|
|
|
+ "time"
|
|
|
+
|
|
|
"github.com/go-xweb/httpsession"
|
|
|
"github.com/go-xweb/xweb"
|
|
|
- "time"
|
|
|
)
|
|
|
|
|
|
func init() {
|
|
|
//开启redissession
|
|
|
httpsession.IsRedisSessionStore = true
|
|
|
+ httpsession.RedisNotLoginKey = "userId"
|
|
|
xweb.Config.Profiler = true
|
|
|
xweb.RootApp().BasePath = "/bigmember"
|
|
|
xweb.RootApp().AppConfig.StaticFileVersion = false
|