2024年6月19日 修复停止直播不正常执行的问题

This commit is contained in:
bai 2024-06-19 20:03:10 +08:00
parent 40f2908a2c
commit 0577672b81
1 changed files with 5 additions and 6 deletions

View File

@ -59,11 +59,6 @@ public class RefreshCloseLiveServer extends BaseSync {
// liveOnMap.put(x.getId(),true);
onList.add(x.getId());
log.info("返回内容:" + res);//live_setParam_ret=ok
} catch (Exception e){
KcZhihuijiaoshiOperateLog operateLog = new KcZhihuijiaoshiOperateLog();
// liveOnMap.put(x.getId(),false);
outList.add(x.getId());
log.error(e.getMessage(),e);
//打开推送开关
//访问汇总结果
//http://${ip}/cgi-bin/plat.cgi?action=9&user=${user}&pwsd=${getMd5Str(pwd)}&command=1
@ -84,6 +79,7 @@ public class RefreshCloseLiveServer extends BaseSync {
// rm.put("xm",x.getXm());
// rm.put("jsmc",x.getJsmc());
// rm.put("url",buildUrl);
KcZhihuijiaoshiOperateLog operateLog = new KcZhihuijiaoshiOperateLog();
operateLog.setOperateUrl(buildUrl);//操作URL
operateLog.setJxlId(x.getJxlId());//教学楼ID
operateLog.setJxlName(x.getJxlName());//教学楼名称
@ -107,7 +103,10 @@ public class RefreshCloseLiveServer extends BaseSync {
}finally {
kcZhihuijiaoshiOperateLogService.save(operateLog);
}
} catch (Exception e){
// liveOnMap.put(x.getId(),false);
outList.add(x.getId());
log.error(e.getMessage(),e);
}
});
// if(!onList.isEmpty()){