修复小程序红点不消失的问题
This commit is contained in:
parent
8ccb74ffa6
commit
b6b4fddb12
@ -235,6 +235,12 @@ public class XhpcMessageBoardServiceImpl implements XhpcMessageBoardService {
|
||||
//处理下次查询时间
|
||||
response.setNextQueryTime(nextTimeStr);
|
||||
response.setData(dataDTOS);
|
||||
//获取redis中用户未读信息数量,将其置为null
|
||||
String userNotReadCount = "userNotReadMessageCount:" + userQueryCondition.getSenderType() + ":" + userQueryCondition.getSenderAccount() + ":" + "0:" + userQueryCondition.getTenantId();
|
||||
Object cacheObject = redisService.getCacheObject(userNotReadCount);
|
||||
if (cacheObject != null) {
|
||||
redisService.deleteObject(userNotReadCount);
|
||||
}
|
||||
return response;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user