generated from root/miduo_server
功能优化
parent
4596ddf4c7
commit
8b96c6e0cf
|
@ -98,7 +98,7 @@ public class ServerInfoController {
|
|||
getServerOpenTime(info.getServer_id(),1);
|
||||
}
|
||||
// 更新端口信息
|
||||
portListenHandler();
|
||||
// portListenHandler();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
@ -158,15 +158,15 @@ public class ServerInfoController {
|
|||
}
|
||||
vo.setOpenType(openType);
|
||||
|
||||
int[] ints = portStatusMap.get(serverInfo.getServer_id());
|
||||
if (ints != null){
|
||||
// 游戏端口
|
||||
int gamePort = ints.length>0?ints[0]:-1;
|
||||
vo.setGamePortState(gamePort);
|
||||
// 支付端口
|
||||
int payPort = ints.length>1?ints[1]:-1;
|
||||
vo.setPayPortState(payPort);
|
||||
}
|
||||
// int[] ints = portStatusMap.get(serverInfo.getServer_id());
|
||||
// if (ints != null){
|
||||
// // 游戏端口
|
||||
// int gamePort = ints.length>0?ints[0]:-1;
|
||||
// vo.setGamePortState(gamePort);
|
||||
// // 支付端口
|
||||
// int payPort = ints.length>1?ints[1]:-1;
|
||||
// vo.setPayPortState(payPort);
|
||||
// }
|
||||
|
||||
// 当前的服务器跨服分组
|
||||
Integer value = RedisUtil.getInstence().getMapValue(RedisUserKey.SERVER_SPLIT_INFO, "", serverInfo.getServer_id(), Integer.class, -1);
|
||||
|
|
|
@ -34,11 +34,13 @@ public class ServerInfoVo extends ServerInfo {
|
|||
private long onlineNum;
|
||||
/**
|
||||
* 游戏端口状态
|
||||
* 2022-04-26 暂时不用了
|
||||
*/
|
||||
private int gamePortState = -1;
|
||||
|
||||
/**
|
||||
* 支付端口状态
|
||||
* 2022-04-26 暂时不用了
|
||||
*/
|
||||
private int payPortState = -1;
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<span class="c-red">*</span>
|
||||
用 户 ID:</label>
|
||||
<div class="formControls col-xs-8 col-sm-9">
|
||||
<input type="text" name="userIds" placeholder="uid#uid#uid...." autocomplete="off" value="" class="input-text"/>
|
||||
<input type="text" name="userIds" placeholder="openId#openId#openId...." autocomplete="off" value="" class="input-text"/>
|
||||
<span class="USERID"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -75,8 +75,8 @@
|
|||
<th width="100">新服推荐</th>
|
||||
<th width="100">版本号</th>
|
||||
<th width="200">上次重启时间</th>
|
||||
<th width="200">游戏端口状态(160*)</th>
|
||||
<th width="200">支付端口状态(180*)</th>
|
||||
<!-- <th width="200">游戏端口状态(160*)</th>-->
|
||||
<!-- <th width="200">支付端口状态(180*)</th>-->
|
||||
<th width="200">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -103,16 +103,16 @@
|
|||
</th>
|
||||
<td th:text="${obj.getVersion()}" style="text-align: center;"></td>
|
||||
<td th:text="${obj.getRestartTime()}" style="text-align: center;"></td>
|
||||
<th th:switch="${obj.getGamePortState()}" style="text-align: center;">
|
||||
<span th:case="-1" class="Hui-iconfont" style="color:grey;">未检测 </span>
|
||||
<span th:case="0" class="Hui-iconfont" style="color:red;">关闭 </span>
|
||||
<span th:case="1" class="Hui-iconfont" style="color:green">开启</span>
|
||||
</th>
|
||||
<th th:switch="${obj.getPayPortState()}" style="text-align: center;">
|
||||
<span th:case="-1" class="Hui-iconfont" style="color:grey;">未检测 </span>
|
||||
<span th:case="0" class="Hui-iconfont" style="color:red;">关闭 </span>
|
||||
<span th:case="1" class="Hui-iconfont" style="color:green">开启</span>
|
||||
</th>
|
||||
<!-- <th th:switch="${obj.getGamePortState()}" style="text-align: center;">-->
|
||||
<!-- <span th:case="-1" class="Hui-iconfont" style="color:grey;">未检测 </span>-->
|
||||
<!-- <span th:case="0" class="Hui-iconfont" style="color:red;">关闭 </span>-->
|
||||
<!-- <span th:case="1" class="Hui-iconfont" style="color:green">开启</span>-->
|
||||
<!-- </th>-->
|
||||
<!-- <th th:switch="${obj.getPayPortState()}" style="text-align: center;">-->
|
||||
<!-- <span th:case="-1" class="Hui-iconfont" style="color:grey;">未检测 </span>-->
|
||||
<!-- <span th:case="0" class="Hui-iconfont" style="color:red;">关闭 </span>-->
|
||||
<!-- <span th:case="1" class="Hui-iconfont" style="color:green">开启</span>-->
|
||||
<!-- </th>-->
|
||||
<td class="td-manage" style="text-align: center;">
|
||||
<a href="#" class="btn btn-primary radius" th:id="${obj.getServer_id()}" onclick="return editServer(this)">
|
||||
<i class="Hui-iconfont"></i> 修改
|
||||
|
@ -150,7 +150,7 @@
|
|||
"bStateSave": true,//状态保存
|
||||
"pading": false,
|
||||
"aoColumnDefs": [
|
||||
{"orderable": false, "aTargets": [2,4,10,11,12]}// 不参与排序的列
|
||||
{"orderable": false, "aTargets": [2,4,10,11]}// 不参与排序的列
|
||||
]
|
||||
});
|
||||
|
||||
|
|
|
@ -27,50 +27,9 @@
|
|||
</div>
|
||||
<div style="margin-left: 20px;font-size: 18px">
|
||||
<div>
|
||||
<h2 style="color: red" class="f-18">更新日志[2022-2-18]</h2>
|
||||
<h2 style="color: red" class="f-18">更新日志[2022-4-26]</h2>
|
||||
<p class="f-14" style="line-height:32px;">
|
||||
1、服务器列表添加列:《跨服分组id》,可以在修改服务器窗口修改,该属性修改后gm后台展示立即生效,游戏内会在下周一零点生效.
|
||||
括号内为当前服务器的跨服分组id<br>
|
||||
2、页面红点提示修改为只支持最新的十条通知,旧的会被覆盖,请及时查看
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2 style="color: red" class="f-18">更新日志[2022-1-17]</h2>
|
||||
<p class="f-14" style="line-height:32px;">
|
||||
1、订单下载列表优化,添加排序和搜索
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2 style="color: red" class="f-18">更新日志[2021-12-03]</h2>
|
||||
<p class="f-14" style="line-height:32px;">
|
||||
1、页面添加小红字通知,位置页面左上角,“太初行管理平台”右侧,作用如下:<br>
|
||||
(1)部分会在后台执行的操作,会在操作完成后通过红字通知前台,显示完成的消息或者报错信息<br>
|
||||
(2)每一条红点信息保存10分钟,超过时间未读将会在缓存中消失,页面中会在刷新后消失<br>
|
||||
(3)每一条消息可点击,表示已读,已读的消息会删除<br>
|
||||
(4)目前已拥有的通知,订单下载完成,自动开服完成,清库完成和相关报错
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2 style="color: red" class="f-18">更新日志[2021-12-01]</h2>
|
||||
<p class="f-14" style="line-height:32px;">
|
||||
1、订单导出功能大改,解决下载订单需要在页面卡半天的问题,详细修改如下:<br>
|
||||
(1)订单列表的两个按钮改为:《订单查询和导出》 和 《订单下载列表》<br>
|
||||
《订单查询和导出》负责订单的查询和导出,导出需要输入文件名称,文件名称不能包含下划线"_"<br>
|
||||
(2)导出改为在服务器后台导出订单,导出完成的订单会在《订单下载列表》展示出来,可以通过下载按钮下载到本地<br>
|
||||
导出依然需要时间,所以不会第一时间在下载列表展示出来,可以等几分钟再查看,期间可以切换和操作其他功能
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h2 style="color: red" class="f-18">更新日志[2021-11-11]</h2>
|
||||
<p class="f-14" style="line-height:32px;">
|
||||
1、天眼封禁优化<br>
|
||||
2、服务器列表优化,新增缓存刷新按钮<br>
|
||||
3、服务器信息修改功能优化<br>
|
||||
ps:{ 开服时间、版本号、上次重启时间、游戏端口状态、支付端口状态 }为缓存数据,可以通过刷新缓存获取最新数据,其他数据没有缓存<br>
|
||||
ps:缓存刷新为后台执行,点击刷新后缓存状态会更改为<br>
|
||||
<span style="color: red">检测中</span>,前端无法立即获得结果,刷新结果需要重新获取界面信息<br>
|
||||
ps:想要快速获得数据,可以在点击刷新按钮后,间隔1-2分钟后点击右上角绿色刷新按钮,缓存状态变为<br>
|
||||
<span style="color: green">检测完成</span>代表是数据刷新成功,为目前最新数据
|
||||
1、服务器列表小优化,删除部分无用列表
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue