generated from root/miduo_server
玩家信息查询增加ip展示
parent
38d0983e77
commit
e59ba23298
|
|
@ -164,6 +164,7 @@ public class UserInfoController {
|
||||||
cUserVo.setReality_rmb(rmb);
|
cUserVo.setReality_rmb(rmb);
|
||||||
cUserVo.setCreateTime(JsonUtil.timeStamp2Date(String.valueOf(gsUser.getPlayerManager().getCreateTime())));
|
cUserVo.setCreateTime(JsonUtil.timeStamp2Date(String.valueOf(gsUser.getPlayerManager().getCreateTime())));
|
||||||
cUserVo.setOutLineTime(JsonUtil.timeStamp2Date(String.valueOf(gsUser.getPlayerManager().getOffLineTime())));
|
cUserVo.setOutLineTime(JsonUtil.timeStamp2Date(String.valueOf(gsUser.getPlayerManager().getOffLineTime())));
|
||||||
|
cUserVo.setIp(gsUser.getPlayerManager().getIp());
|
||||||
}
|
}
|
||||||
return cUserVo;
|
return cUserVo;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,8 @@ public class GSPlayerManagerBean {
|
||||||
|
|
||||||
private int silence;//是否被禁言0为可发言,1为不可发言
|
private int silence;//是否被禁言0为可发言,1为不可发言
|
||||||
|
|
||||||
|
private String ip;//ip
|
||||||
|
|
||||||
|
|
||||||
private Set<Integer> sysMailIds = new CopyOnWriteArraySet<>();
|
private Set<Integer> sysMailIds = new CopyOnWriteArraySet<>();
|
||||||
|
|
||||||
|
|
@ -412,4 +414,12 @@ public class GSPlayerManagerBean {
|
||||||
public void setNewRechargeInfo(GsNewRechargeInfoBean newRechargeInfo) {
|
public void setNewRechargeInfo(GsNewRechargeInfoBean newRechargeInfo) {
|
||||||
this.newRechargeInfo = newRechargeInfo;
|
this.newRechargeInfo = newRechargeInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getIp() {
|
||||||
|
return ip;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIp(String ip) {
|
||||||
|
this.ip = ip;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,28 +2,20 @@ package com.jmfy.model.vo;
|
||||||
|
|
||||||
public class CUserVo implements java.io.Serializable {
|
public class CUserVo implements java.io.Serializable {
|
||||||
|
|
||||||
public int isData; // 是否有数据 0:没有 1: 有
|
public int isData; // 是否有数据 0:没有 1: 有
|
||||||
|
|
||||||
public int userId;
|
public int userId;
|
||||||
public String openID;
|
public String openID;
|
||||||
public String serverId;
|
public String serverId;
|
||||||
public String userName;
|
public String userName;
|
||||||
|
|
||||||
public int level ;
|
public int level ;
|
||||||
|
|
||||||
public long gem;//宝石
|
public long gem;//宝石
|
||||||
|
|
||||||
public long gold;//金币
|
public long gold;//金币
|
||||||
|
|
||||||
public long curStamina;//体力
|
public long curStamina;//体力
|
||||||
|
|
||||||
public double save_amt; //目前儲值
|
public double save_amt; //目前儲值
|
||||||
|
|
||||||
public double reality_rmb; //真是储值
|
public double reality_rmb; //真是储值
|
||||||
|
|
||||||
public String createTime; //创建时间
|
public String createTime; //创建时间
|
||||||
|
|
||||||
public String outLineTime; //离线时间
|
public String outLineTime; //离线时间
|
||||||
|
public String ip;//ip地址
|
||||||
|
|
||||||
public String getOpenID() {
|
public String getOpenID() {
|
||||||
return openID;
|
return openID;
|
||||||
|
|
@ -74,6 +66,14 @@ public class CUserVo implements java.io.Serializable {
|
||||||
this.reality_rmb = reality_rmb;
|
this.reality_rmb = reality_rmb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getIp() {
|
||||||
|
return ip;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIp(String ip) {
|
||||||
|
this.ip = ip;
|
||||||
|
}
|
||||||
|
|
||||||
public void setCreateTime(String createTime) {
|
public void setCreateTime(String createTime) {
|
||||||
this.createTime = createTime;
|
this.createTime = createTime;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,9 +33,10 @@
|
||||||
<table class="table table-border table-bordered table-bg table-hover table-sort table-responsive" width="10000px">
|
<table class="table table-border table-bordered table-bg table-hover table-sort table-responsive" width="10000px">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="text-c">
|
<tr class="text-c">
|
||||||
<th width="500">ID</th>
|
<th width="200">ID</th>
|
||||||
<th width="500">openID</th>
|
<th width="200">openID</th>
|
||||||
<th width="500">serverID</th>
|
<th width="200">serverID</th>
|
||||||
|
<th width="500">IP</th>
|
||||||
<th width="500">角色名</th>
|
<th width="500">角色名</th>
|
||||||
<th width="200">等級</th>
|
<th width="200">等級</th>
|
||||||
<th width="200">妖精</th>
|
<th width="200">妖精</th>
|
||||||
|
|
@ -43,8 +44,8 @@
|
||||||
<th width="200">成长护符</th>
|
<th width="200">成长护符</th>
|
||||||
<th width="200">目前儲值</th>
|
<th width="200">目前儲值</th>
|
||||||
<th width="200">真实儲值</th>
|
<th width="200">真实儲值</th>
|
||||||
<th width="1000">創角時間</th>
|
<th width="500">創角時間</th>
|
||||||
<th width="800">最近登出時間</th>
|
<th width="500">最近登出時間</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
@ -59,6 +60,7 @@
|
||||||
<td th:text="${cUserVo.userId}" style="text-align: center;"></td>
|
<td th:text="${cUserVo.userId}" style="text-align: center;"></td>
|
||||||
<td th:text="${cUserVo.openID}" style="text-align: center;"></td>
|
<td th:text="${cUserVo.openID}" style="text-align: center;"></td>
|
||||||
<td th:text="${cUserVo.serverId}" style="text-align: center;"></td>
|
<td th:text="${cUserVo.serverId}" style="text-align: center;"></td>
|
||||||
|
<td th:text="${cUserVo.ip}" style="text-align: center;"></td>
|
||||||
<td th:text="${cUserVo.userName}" style="text-align: center;"></td>
|
<td th:text="${cUserVo.userName}" style="text-align: center;"></td>
|
||||||
<td th:text="${cUserVo.level}" style="text-align: center;"></td>
|
<td th:text="${cUserVo.level}" style="text-align: center;"></td>
|
||||||
<td th:text="${cUserVo.gem}" style="text-align: center;"></td>
|
<td th:text="${cUserVo.gem}" style="text-align: center;"></td>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue