2024年6月19日 修复停止直播不正常执行的问题
This commit is contained in:
parent
40f2908a2c
commit
0577672b81
|
@ -59,11 +59,6 @@ public class RefreshCloseLiveServer extends BaseSync {
|
||||||
// liveOnMap.put(x.getId(),true);
|
// liveOnMap.put(x.getId(),true);
|
||||||
onList.add(x.getId());
|
onList.add(x.getId());
|
||||||
log.info("返回内容:" + res);//live_setParam_ret=ok
|
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
|
//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("xm",x.getXm());
|
||||||
// rm.put("jsmc",x.getJsmc());
|
// rm.put("jsmc",x.getJsmc());
|
||||||
// rm.put("url",buildUrl);
|
// rm.put("url",buildUrl);
|
||||||
|
KcZhihuijiaoshiOperateLog operateLog = new KcZhihuijiaoshiOperateLog();
|
||||||
operateLog.setOperateUrl(buildUrl);//操作URL
|
operateLog.setOperateUrl(buildUrl);//操作URL
|
||||||
operateLog.setJxlId(x.getJxlId());//教学楼ID
|
operateLog.setJxlId(x.getJxlId());//教学楼ID
|
||||||
operateLog.setJxlName(x.getJxlName());//教学楼名称
|
operateLog.setJxlName(x.getJxlName());//教学楼名称
|
||||||
|
@ -107,7 +103,10 @@ public class RefreshCloseLiveServer extends BaseSync {
|
||||||
}finally {
|
}finally {
|
||||||
kcZhihuijiaoshiOperateLogService.save(operateLog);
|
kcZhihuijiaoshiOperateLogService.save(operateLog);
|
||||||
}
|
}
|
||||||
|
} catch (Exception e){
|
||||||
|
// liveOnMap.put(x.getId(),false);
|
||||||
|
outList.add(x.getId());
|
||||||
|
log.error(e.getMessage(),e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// if(!onList.isEmpty()){
|
// if(!onList.isEmpty()){
|
||||||
|
|
Loading…
Reference in New Issue