[2024-07-12](UPDATE): 用户登录后台接口

This commit is contained in:
june 2024-07-12 20:36:13 +08:00
parent 35cb1f9025
commit 3dc9fbeaf8

View File

@ -9,7 +9,7 @@ var SessionStore *redistore.RediStore
func NewSessionStore() { func NewSessionStore() {
// Fetch new store. // Fetch new store.
store, err := redistore.NewRediStore(10, "tcp", configs.Settings.Redis.Addr, "", []byte(configs.Settings.Redis.Password)) store, err := redistore.NewRediStore(10, "tcp", configs.Settings.Redis.Addr, configs.Settings.Redis.Password)
if err != nil { if err != nil {
panic(err) panic(err)
} }