视频会议
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user