From 85f9175b3064094a09dbe9f71ba37b2f11f38e5f Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期三, 29 七月 2020 14:21:16 +0800 Subject: [PATCH] use sqlite, spaceNo add isMine --- cache/redis.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cache/redis.go b/cache/redis.go index 9598272..af658ee 100644 --- a/cache/redis.go +++ b/cache/redis.go @@ -10,7 +10,7 @@ func init() { redisHost := beego.AppConfig.String("redisIp") - redisPort := beego.AppConfig.String("redisPort") + redisPort,_ := beego.AppConfig.Int("redisPort") poolSize := 20 pool = redigo.NewPool(func() (redigo.Conn, error) { c, err := redigo.Dial("tcp", fmt.Sprintf("%s:%d", redisHost, redisPort)) -- Gitblit v1.8.0