重构数据引擎和报表引擎
This commit is contained in:
@@ -63,6 +63,15 @@ func (m *PlatformManager) GetPlatform(ctx context.Context, platformCode string)
|
||||
cfg.AppSecret = as
|
||||
}
|
||||
}
|
||||
case "APP_SIGNATURE":
|
||||
if platform.AuthConfig != nil {
|
||||
if aid, _ := platform.AuthConfig["app_id"].(string); aid != "" {
|
||||
cfg.AppKey = aid
|
||||
}
|
||||
if as, _ := platform.AuthConfig["app_secret"].(string); as != "" {
|
||||
cfg.AppSecret = as
|
||||
}
|
||||
}
|
||||
default:
|
||||
logrus.Warnf("平台 %s 认证类型 %s 未处理", platformCode, platform.AuthType)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user