diff --git a/public/template/gen_home.html b/public/template/gen_home.html index 586a828..a81c2bb 100644 --- a/public/template/gen_home.html +++ b/public/template/gen_home.html @@ -66,14 +66,15 @@

| - +

状态: 正在运行 关闭
最后启动: - +
到期: +
diff --git a/public/template/server.html b/public/template/server.html index a426eac..a9c4665 100644 --- a/public/template/server.html +++ b/public/template/server.html @@ -41,8 +41,9 @@ 正在运行 关闭 | 创建时间 : | 最后启动: - | 端: - + | 时间期限: + | 端: +
diff --git a/route/websocket/genuser.js b/route/websocket/genuser.js index 8df91ea..f8d40df 100644 --- a/route/websocket/genuser.js +++ b/route/websocket/genuser.js @@ -36,9 +36,10 @@ WebSocketObserver().listener('genuser/home', (data) => { createDate: userHaveServer.dataModel.createDate, run: userHaveServer.isRun(), jarName: userHaveServer.dataModel.jarName, + timeLimitDate: userHaveServer.dataModel.timeLimitDate }); if (userHaveServer.isRun()) { - OnlineServerList.push(userHaveServer.dataModel.nam); + OnlineServerList.push(userHaveServer.dataModel.name); } }