Commit f88f8c46 by zhangxingmin

push

parent 0d426142
......@@ -809,6 +809,15 @@ public class ApiCoSessionServiceImpl implements ApiCoSessionService {
RoomRedisInfoDTO roomRedisInfoDTO = redisUtil.getCacheObject(RedisEnum.ROOM.getPrefix() + roomId + ":" + roomPwd, RoomRedisInfoDTO.class);
GetLinkStatusResponse response = new GetLinkStatusResponse();
response.setReportOwnerName(roomRedisInfoDTO != null ? roomRedisInfoDTO.getName() : "");
//报告归属人手机号尾号四位
String ownerMobile = roomRedisInfoDTO.getMobile();
String ownerMobileLast = "";
if (StringUtils.isNotBlank(ownerMobile) && ownerMobile.length() >= 4) {
ownerMobileLast = ownerMobile.substring(ownerMobile.length() - 4);
} else {
ownerMobileLast = "****";
}
response.setReportOwnerMobileLast(ownerMobileLast);
RoomLinkDTO roomLinkDTO = redisUtil.getCacheObject(RedisEnum.ROOM_LINK.getPrefix() + roomId + ":" + roomPwd,RoomLinkDTO.class);
if (roomLinkDTO == null) {
//访问链接已失效
......
......@@ -10,4 +10,9 @@ public class GetLinkStatusResponse {
*/
private String reportOwnerName;
/**
* 报告归属人手机号尾号四位
*/
private String reportOwnerMobileLast;
}
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 to comment