This commit is contained in:
2023-01-07 10:29:10 +08:00
parent 8eb2294792
commit d259734f71
4 changed files with 19 additions and 2 deletions

View File

@@ -29,7 +29,11 @@ public class SecurityUtils {
return json.toBean(CurrentUser.class);
}
} catch (Exception e) {
return new CurrentUser();
CurrentUser currentUser = new CurrentUser();
currentUser.setId("2");
currentUser.setPresonName("外部系统用户");
currentUser.setUsername("default");
return currentUser;
}
return null;
}