视频连线

This commit is contained in:
duoaohui
2026-05-26 22:41:53 +08:00
parent 331941f9ce
commit 24e3a37c96
19 changed files with 860 additions and 4 deletions

View File

@@ -33,6 +33,20 @@ jwt:
refresh_expire_day: 7 # Refresh Token 有效期(天),即 7 天
issuer: echochat # JWT 签发者标识
oauth:
frontend_callback_url: "/echoChat-frontend/#/pages/auth/oauth-callback"
providers:
wechat:
enabled: false
client_id: ""
client_secret: ""
redirect_uri: "https://yl.z64.cn/api/v1/auth/oauth/wechat/callback"
qq:
enabled: false
client_id: ""
client_secret: ""
redirect_uri: "https://yl.z64.cn/api/v1/auth/oauth/qq/callback"
# 日志配置
log:
level: debug # 最低输出级别debug / info / warn / error
@@ -95,4 +109,4 @@ meeting:
cloud_law_internal_token: cloud-law-internal-xx14
recording_transcode_enabled: true
recording_transcode_ffmpeg_path: /home/ykf/jenkins/yuyin/ffmpeg/ffmpeg-7.0.2-amd64-static/ffmpeg
recording_transcode_timeout_seconds: 600
recording_transcode_timeout_seconds: 600

View File

@@ -29,6 +29,20 @@ jwt:
refresh_expire_day: 7
issuer: echochat
oauth:
frontend_callback_url: "/echoChat-frontend/#/pages/auth/oauth-callback"
providers:
wechat:
enabled: false
client_id: ""
client_secret: ""
redirect_uri: "https://yl.z64.cn/api/v1/auth/oauth/wechat/callback"
qq:
enabled: false
client_id: ""
client_secret: ""
redirect_uri: "https://yl.z64.cn/api/v1/auth/oauth/qq/callback"
log:
level: debug
format: text

View File

@@ -20,6 +20,19 @@ type Config struct {
MediaServer MediaServerConfig `mapstructure:"media_server"`
Meeting MeetingConfig `mapstructure:"meeting"`
LLMSource LLMSourceConfig `mapstructure:"llm_source"` // Phase B外部 LLM 配置库MySQLt_llm_provider/model/key
OAuth OAuthConfig `mapstructure:"oauth"`
}
type OAuthConfig struct {
FrontendCallbackURL string `mapstructure:"frontend_callback_url"`
Providers map[string]OAuthApp `mapstructure:"providers"`
}
type OAuthApp struct {
ClientID string `mapstructure:"client_id"`
ClientSecret string `mapstructure:"client_secret"`
RedirectURI string `mapstructure:"redirect_uri"`
Enabled bool `mapstructure:"enabled"`
}
// LLMSourceConfig 外部 LLM/STT 配置中心 MySQL 连接