public void Attention(int userId, int groupTeamId, int status, string version, string equType, string equName)
        {
            string json = String.Empty;
            BLL.manager_guid bll_managerguid = new BLL.manager_guid();
            Model.manager_guid model_managerguid = null;
            try
            {
                bool is_exsit = bll_managerguid.Exists(groupTeamId, userId);
                if (is_exsit)
                {
                    bool result = false;
                    if (status == 0)
                    {
                        result = bll_managerguid.Delete(groupTeamId, userId);
                    }
                    if (result)
                    {
                        json = "{\"status\":\"true\"}";
                    }
                    else
                    {
                        json = "{\"status\":\"false\",\"data\":\"已关注此旅行社!\"}";
                    }

                }
                else
                {
                    model_managerguid = new Model.manager_guid();
                    model_managerguid.guid_id = userId;
                    model_managerguid.manager_id = groupTeamId;
                    model_managerguid.status = 1;//关注
                    model_managerguid.apply_time = DateTime.Now;
                    int count = bll_managerguid.Add(model_managerguid);
                    if (count > 0)
                    {
                        json = "{\"status\":\"true\"}";
                    }
                    else
                    {
                        json = "{\"status\":\"false\",\"data\":\"关注失败,请联系管理员!\"}";
                    }
                }

            }
            catch (Exception ex)
            {
                json = "{\"status\":\"false\",\"data\":\"" + ex.Message + "\"}";
            }
            WriteWebServiceLog(version, equType, equName, "Attention", "");
            Context.Response.Write(json);
            Context.Response.End();
        }
        public void MyAttentionList(int userId, int page, string version, string equType, string equName)
        {
            BLL.manager_guid bll_managerguid = new BLL.manager_guid();
            string json_managerguid = string.Empty;
            string json = string.Empty;
            try
            {
                int count = 0;
                bool nextPage = false;   //是否有下一页

                DataSet ds_managerguid = bll_managerguid.GetManagerGuidList(10, page, "", "add_time desc", userId, out count);
                if (ds_managerguid != null && ds_managerguid.Tables[0].Rows.Count > 0)
                {
                    var lst_managerguid = from p in ds_managerguid.Tables[0].AsEnumerable()
                                          select new
                                          {
                                              travelId = p.Field<int>("id"),
                                              travelAgency = string.IsNullOrEmpty(p.Field<string>("real_name")) ? "" : p.Field<string>("real_name"),
                                              travelIntroduced = string.IsNullOrEmpty(p.Field<string>("description")) ? "" : p.Field<string>("description"),
                                              headImage = string.IsNullOrEmpty(p.Field<string>("img_url")) ? "" : this.webUrl + p.Field<string>("img_url")
                                          };
                    count = lst_managerguid.Count();
                    json_managerguid = Common.ObjToJson.ToJson(lst_managerguid.ToList());
                }

                if (count < 10)
                {
                    nextPage = false;
                }
                else
                {
                    nextPage = true;
                }
                //IList<GroupTeamLook> list = lookManager.GetLook(userId, page);
                if (!string.IsNullOrEmpty(json_managerguid))
                {
                    string dateStr = DateTime.Now.ToString("yyyy-MM");

                    json = "{\"status\":\"true\",\"currentDate\":\"" + dateStr + "\",\"nextPage\":\"" + nextPage.ToString().ToLower().ToString().ToLower() + "\",\"data\":" + json_managerguid + "}";
                }
                else
                {
                    json = "{\"status\":\"false\",\"data\":\"没有数据\"}";
                }
            }
            catch (Exception ex)
            {
                json = "{\"status\":\"false\",\"data\":\"" + ex.Message + "\"}";
            }
            WriteWebServiceLog(version, equType, equName, "MyAttentionList", "");
            Context.Response.Write(json);
            Context.Response.End();
        }