Commit 7342131e by zhangchen

提示信息变更

parent 9255db2e
......@@ -76,7 +76,7 @@ public class FaceWebSocket {
addOnlineCount();
clients.put(username, this);
System.out.println("已连接");
//System.out.println("已连接");
}
......@@ -106,7 +106,7 @@ public class FaceWebSocket {
face.setCreateTime(new SimpleDateFormat("yyyy-MM-dd").format(new Date()));
face.setDeviceId(username);
userMService.saveUserFaceDetail(face);
result.setMessage("欢迎爱玩会员 "+userExt.getUserName());
result.setMessage("欢迎爱玩会员 "+userExt.getBindedMobilePhone().replaceAll("(\\d{3})\\d{4}(\\d{4})","$1****$2"));
result.setSuccess(true);
}else{
result.setMessage("您的会员已过期,过期时间:"+new SimpleDateFormat("yyyy-MM-dd").format(userExt.getCommuneAgainTime())+"请续费");
......@@ -114,7 +114,7 @@ public class FaceWebSocket {
}
body.setVipGrade(userExt.getVipGrade());
body.setCommuneTime(new SimpleDateFormat("yyyy-MM-dd").format(userExt.getCommuneAgainTime()));
body.setUserName(userExt.getUserName());
body.setUserName(userExt.getBindedMobilePhone());
result.setBody(body);
result.setId(jsonTo.getId());
result.setCode(jsonTo.getCode());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment