From 614647d310c1b5554dfcdc60726bc46bc9aae984 Mon Sep 17 00:00:00 2001 From: 付智勇 <fuzhiyong@efangtec.com> Date: Fri, 8 Sep 2017 20:11:13 +0800 Subject: [PATCH] 创建课堂 用户修改 --- controller/meetingController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"), // 结束时间 -- libgit2 0.24.0