[2024-07-12](UPDATE): 用户登录后台接口
This commit is contained in:
parent
35cb1f9025
commit
3dc9fbeaf8
@ -9,7 +9,7 @@ var SessionStore *redistore.RediStore
|
||||
|
||||
func NewSessionStore() {
|
||||
// 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 {
|
||||
panic(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user