付智勇

no message

... ... @@ -54,7 +54,7 @@ recordInfoController.prototype.stopRecording = async(ctx,next)=>{
const body = ctx.request.body;
body.id = uuid.db32()
body.createTime = new Date().getTime();
let old = await recordStatus.findOne({where:{channel:channel,status:0}})
let old = await recordStatus.findOne({where:{channel:channel,status:1}})
if(old){
throw new Error('没有正在录制的课堂')
}
... ...