public string GetShowCount() { string Timestamp = Request("Timestamp").ToString().Trim(); if (Timestamp == null || Timestamp.Equals("")) { Timestamp = "0"; } string content = string.Empty; VipBLL vipService = new VipBLL(CurrentUserInfo); var respData = new GetShowCount2RespData(); try { respData.Code = "200"; respData.Description = "操作成功"; //respData.count = vipService.GetShowCount(Convert.ToInt64(Timestamp), out respData.NewTimestamp); var info = vipService.GetShowCount2(CurrentUserInfo.UserID, CurrentUserInfo.ClientID); if (info != null && info.Tables.Count > 0) { respData.Content = info.Tables[0]; } } catch (Exception ex) { respData.Code = "201"; respData.Description = "操作失败"; respData.Exception = ex.ToString(); } content = respData.ToJSON(); return(content); }