diff --git a/main.go b/main.go index 6e32c89..f1b0ae8 100644 --- a/main.go +++ b/main.go @@ -707,7 +707,6 @@ func Cors() gin.HandlerFunc { } func test_redis() { - Redis = InitRedis() //添加reids测试数据 //var serverInfo ServerInfo = ServerInfo{ // ServerAddress: "https://gptp.any-door.cn", @@ -823,6 +822,7 @@ func main() { }) }) + Redis = InitRedis() //添加测试数据 //test_redis()