public string GetAllAuth(int userid) { AuthorityService service = new AuthorityService(); service.GetAuthorities(userid); return(""); }
public string GetUserAuthority(int userid, string port) { AuthorityService authority = new AuthorityService(); var auth = authority.GetUserAuth(userid.ToString(), port); TreeNodeHelper tNH = new TreeNodeHelper(); string str = tNH.InitTreeNode_json(auth, 0, false); return(str); }