public void updateUserIsValidate(User user) { try { userMapper.updateUserIsValidate(user); } catch (Exception e) { e.printStackTrace(); } }
public void registerUser(User user) { try { userMapper.registerUser(user); } catch (Exception e) { e.printStackTrace(); } }
public User findUserByUserName(String username) { User user = null; try { user = userMapper.findUserByUserName(username); } catch (Exception e) { e.printStackTrace(); } return user; }