private static ResultView <UserView> AccountSetApi(AccountView para) { var result = WebApiHelper.InvokeApi <string>(string.Format("User/AccountSet?uid={0}&type=2", GlobalMemberInfo.UserId), new { para = para.ToJSON() }, GlobalMemberInfo.GetToken); if (result != null) { return(JsonConvert.DeserializeObject(result, typeof(ResultView <UserView>)) as ResultView <UserView>); } return(new ResultView <UserView>()); }