|
|
@@ -442,12 +442,14 @@ public class WebSocketServer {
|
|
|
LiveRedConf liveRedConf = JSON.parseObject(task.getContent(), LiveRedConf.class);
|
|
|
liveRedConf.setRedStatus(1L);
|
|
|
liveRedConf.setUpdateTime( now);
|
|
|
+ msg.setData(JSON.toJSONString(liveRedConf));
|
|
|
liveRedConfService.updateLiveRedConf(liveRedConf);
|
|
|
}else if (task.getTaskType() == 4L) {
|
|
|
msg.setCmd("lottery");
|
|
|
LiveLotteryConf liveLotteryConf = JSON.parseObject(task.getContent(), LiveLotteryConf.class);
|
|
|
liveLotteryConf.setLotteryStatus("1");
|
|
|
liveLotteryConf.setUpdateTime( now);
|
|
|
+ msg.setData(JSON.toJSONString(liveLotteryConf));
|
|
|
liveLotteryConfService.updateLiveLotteryConf(liveLotteryConf);
|
|
|
}else if (task.getTaskType() == 3L) {
|
|
|
msg.setCmd("sendMsg");
|