付智勇

no message

... ... @@ -18,7 +18,9 @@ shell.prototype.Recording =async(appId,uid,channel,channelKey,body)=>{
let r = await recordInfo.create(body);
if(channelInfo){
if(body.status == 2){
var channelInfo = await recordStatus.update({status:1},{where:{channel:channel}});
var channelInfo = await recordStatus.update({status:3},{where:{channel:channel}});
}else if(channelInfo == 3){
var channelInfo = await recordStatus.update({status:1},{where:{channel:channel}});
}else {
throw false ;
}
... ...