|
|
@@ -386,8 +386,7 @@ public class TeacherbaseManagerServiceImpl extends MPJBaseServiceImpl<XjrUserMap
|
|
|
|
|
|
userPostRelationService.remove(Wrappers.<UserPostRelation>query().lambda().eq(UserPostRelation::getUserId, xjrUser.getId()));
|
|
|
|
|
|
- SaSession tokenSession = StpUtil.getTokenSession();
|
|
|
- tokenSession.delete(GlobalConstant.LOGIN_USER_POST_INFO_KEY);
|
|
|
+ redisUtil.delete(GlobalConstant.LOGIN_IDENTITY_CACHE_PREFIX + xjrUser.getId());
|
|
|
|
|
|
List<UserPostRelation> userPostRelationList = new ArrayList<>();
|
|
|
if (StrUtil.isNotBlank(dto.getPostIds())) {
|