Example #1
0
        /// <summary>
        ///
        /// </summary>
        public string GetVipTagsData()
        {
            var    service = new VipBLL(CurrentUserInfo);
            string content = string.Empty;

            string key = string.Empty;

            if (Request("vip_id") != null && Request("vip_id") != string.Empty)
            {
                key = Request("vip_id").ToString().Trim();
            }

            //var queryEntity = new TagsEntity();
            //queryEntity.VIPID = key;
            //int pageIndex = Utils.GetIntVal(FormatParamValue(Request("page"))) - 1;

            var data           = service.GetVipMappingTags(key);
            var dataTotalCount = data.Count;

            content = string.Format("{{\"totalCount\":{1},\"topics\":{0}}}",
                                    data.ToJSON(),
                                    dataTotalCount);
            return(content);
        }