视频会议

This commit is contained in:
duoaohui
2026-05-23 09:35:03 +08:00
parent 4c9f462ff1
commit 6347fdd2db
5 changed files with 255 additions and 85 deletions

View File

@@ -305,7 +305,10 @@ func (ctl *MeetingController) CloudLawSession(c *gin.Context) {
ctl.handleError(c, err, "创建云律 EchoChat 用户失败")
return
}
resp, err := ctl.authService.BuildLoginResponseForUser(c.Request.Context(), user, c.ClientIP(), constants.ClientTypeFrontend)
resp, err := ctl.authService.Login(c.Request.Context(), &dto.LoginRequest{
Account: user.Username,
Password: service.CloudLawDefaultPassword,
}, c.ClientIP(), constants.ClientTypeFrontend)
if err != nil {
utils.ResponseError(c, "创建云律 EchoChat 登录态失败")
return