public List<Resource> GetCustomTree()
{
NLogEx.LoggerEx logEx = new NLogEx.LoggerEx(log);
logEx.Trace("Enter: TiandyHttpClient.GetCustomTree().");
//设置访问天地伟业登陆接口的uri
string requestUrl = string.Format(
"{0}/GetCustomTree.jsp?CurrentUserId={1}&UserId={2}&Password={3}",
this.serverUrl,
this.user,
this.user,
pwd);
//日志不能记密码,单独处理
string logString = string.Format(
"{0}/GetCustomTree.jsp?CurrentUserId={1}&UserId={2}&Password=******",
this.serverUrl,
this.user,
this.user);
logEx.Trace("Call function TiandyHttpClient.GetResourceTree({0}).", logString);
List<Resource> resources = GetResourceTree(requestUrl);
return resources;
}