修改--实名认证时通过从系统缓存中获取id

This commit is contained in:
haotian 2025-03-07 16:46:45 +08:00
parent 5660e0e178
commit 03dc48d44e

View File

@ -464,7 +464,11 @@ public class AppSystemController extends BaseController {
return error("实名认证信息不一致");
}
else{
Long userId = sysUserService.selectUserByUserName(username).getUserId();
// Long userId = sysUserService.selectUserByUserName(username).getUserId();
Long userId = getUserId();
System.out.println("userId:"+userId);
UserInfo userInfo = new UserInfo();
userInfo.setUserId(userId);
userInfo.setAuthenticationStatus("1");