This commit is contained in:
张良(004796)
2024-04-18 19:43:07 +08:00
parent f8b341850a
commit 92b78cf2d5
2 changed files with 4 additions and 1 deletions

View File

@@ -69,6 +69,8 @@ public class LoginManager {
private UserExtendService userExtendService;
@Autowired
private UserInviteService userInviteService;
@Autowired
private UserStatusService userStatusService;
public String login(String username,String password){
User user = userService.getByUsername(username);
@@ -236,6 +238,7 @@ public class LoginManager {
userStatus.setShowInfo(1);
userStatus.setAllowTransMobile(1);
userStatus.setAllowTransWx(1);
userStatusService.save(userStatus);
return user;
}