Merge branch 'master' of http://47.115.223.229:8888/yangjun/dbsd_kczx_java
This commit is contained in:
commit
f654fb1615
|
@ -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()){
|
||||
|
|
Loading…
Reference in New Issue