修改监管端存token标志

This commit is contained in:
chenshaohua
2026-07-10 11:27:18 +08:00
parent 13c086db01
commit f6a957b1af
3 changed files with 8 additions and 3 deletions

View File

@@ -680,7 +680,7 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper,AppUser> imple
@Override
public void resetLcPsw(AppUser appUser) {
String lcUserToken=redisCache.getCacheObject(CacheConstants.LC_HLW_TOKEN+appUser.getLcUserid());
String lcUserToken=redisCache.getCacheObject(CacheConstants.LC_JGD_TOKEN+appUser.getLcUserid());
if(StringUtils.isBlank(lcUserToken)){
throw new RuntimeException("token已失效");
}
@@ -696,7 +696,7 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper,AppUser> imple
@Override
public void changeLcCompanyStatus(AppUser appUser) {
String lcUserToken=redisCache.getCacheObject(CacheConstants.LC_HLW_TOKEN+appUser.getLcUserid());
String lcUserToken=redisCache.getCacheObject(CacheConstants.LC_JGD_TOKEN+appUser.getLcUserid());
if(StringUtils.isBlank(lcUserToken)){
throw new RuntimeException("token已失效");
}