优化全局变量

This commit is contained in:
2023-01-18 17:10:16 +08:00
parent 6dbdeb7145
commit c44203b176
25 changed files with 428 additions and 429 deletions
+8
View File
@@ -0,0 +1,8 @@
package refs
import redisTool "cutego/pkg/redispool"
// 配置redis数据库
func init() {
RedisDB = redisTool.NewRedis()
}