示例#1
0
 public void updateUserIsValidate(User user) {
   try {
     userMapper.updateUserIsValidate(user);
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
示例#2
0
 public void registerUser(User user) {
   try {
     userMapper.registerUser(user);
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
示例#3
0
 public User findUserByUserName(String username) {
   User user = null;
   try {
     user = userMapper.findUserByUserName(username);
   } catch (Exception e) {
     e.printStackTrace();
   }
   return user;
 }