【优化】租户功能,框架优化

This commit is contained in:
PandaGoAdmin
2022-07-18 18:17:11 +08:00
parent d33bd39570
commit ae38e7bcef
60 changed files with 861 additions and 647 deletions

View File

@@ -2,15 +2,14 @@ package starter
import (
"fmt"
"pandax/base/config"
"pandax/base/global"
"pandax/pkg/global"
"github.com/go-redis/redis"
)
func ConnRedis() *redis.Client {
// 设置redis客户端
redisConf := config.Conf.Redis
redisConf := global.Conf.Redis
if redisConf == nil {
global.Log.Panic("未找到redis配置信息")
}