Exemplo n.º 1
0
        public string SysTagQuestions(int accid, string tagType = "")
        {
            List <int> excludTypeList = new List <int>();

            excludTypeList.Add(0);
            foreach (string item in tagType.Split(','))
            {
                int tid = 0;
                if (int.TryParse(item, out tid))
                {
                    excludTypeList.Add(tid);
                }
            }


            var list = ShopDetails.GetTagQuestions(accid, excludTypeList.ToArray());

            return(CommonLib.Helper.JsonSerializeObject(list));
        }