diff --git a/controller/meetingController.js b/controller/meetingController.js index 5f399a1..b9eb16a 100644 --- a/controller/meetingController.js +++ b/controller/meetingController.js @@ -45,8 +45,8 @@ meetingController.prototype.createMeeting = async(ctx,next)=>{ backUrl:meetingbody.backUrl,// 课堂结束回调地址 mediaID:meetingbody.mediaID,//伴音id meetingContent:meetingbody.meetingContent, //课堂描述 - create_user:ctx.request.userName, //创建用户名 - duration:ctx.request.duration,//持续时长 + create_user:meetingbody.userName, //创建用户名 + duration:meetingbody.duration,//持续时长 presenterPassword:meetingbody.presenterPassword, //主讲人密码 startTime: moment(meetingbody.beginTime).format("YYYY-MM-DD HH:MM:SS "), //开始时间 endTime: moment(meetingbody.endTime).format("YYYY-MM-DD HH:MM:SS"), // 结束时间