Examples of adminToUser()


Examples of com.ourlinc.helloworld.model.User.adminToUser()

      // 把用户提升为管理员
      if ("toadmin".equals(op)) {
        user.userToAdmin();
        user.flush();
      } else {// 把管理员降为用户
        user.adminToUser();
        user.flush();
      }
    }
    return null;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.