/// <summary>
        /// 更新医院信息
        /// </summary>
        /// <param name="token"></param>
        /// <param name="id">医院id</param>
        /// <param name="info">更新信息</param>
        /// <returns></returns>
        public string Edit(string token, string id, HospitalEntity info)
        {
            string strResponse = string.Empty;
            //HospitalDetailResponse response = new HospitalDetailResponse();
            //string id, string title, string contact, string mobile, string address
            try
            {
                Dictionary<string, string> sPara = new Dictionary<string, string>();

                sPara.Add("id", id);
                foreach (System.Reflection.PropertyInfo p in info.GetType().GetProperties())
                {
                    if (p.Name == "title")
                    {
                        sPara.Add(p.Name, p.GetValue(info).ToString());
                    }
                    else if (p.Name == "contact")
                    {
                        sPara.Add(p.Name, p.GetValue(info).ToString());
                    }
                    else if (p.Name == "mobile")
                    {
                        sPara.Add(p.Name, p.GetValue(info).ToString());
                    }
                    else if (p.Name == "address")
                    {
                        sPara.Add(p.Name, p.GetValue(info).ToString());
                    }
                    else if (p.Name == "telphone")
                    {
                        sPara.Add(p.Name, p.GetValue(info).ToString());
                    }
                    else if (p.Name == "deptname")
                    {
                        sPara.Add(p.Name, p.GetValue(info).ToString());
                    }
                    //if (p.Name != "id" || p.Name != "adminid")
                    //{
                    //    sPara.Add(p.Name, p.GetValue(info).ToString());
                    //}

                }

                strResponse = F8YLSubmit.BuildRequest(sPara, "hospital/detail?token=" + token);

                //response = JsonHelper.DeserializeJsonToObject<HospitalDetailResponse>(strResponse);

                return strResponse;
            }
            catch
            {
                throw;
            }
        }
        public string EditHospital(string id, string title, string contact, string mobile, string address, string telphone, string deptname)
        {
            string jsonEditHospital = string.Empty;
            try
            {
                HospitalRequest hr = new HospitalRequest();
                var token = Session["token"] == null ? "XXXXXXX" : Session["token"].ToString();

                HospitalEntity he = new HospitalEntity
                {
                    title = title,
                    contact = contact,
                    mobile = mobile,
                    address = address,
                    telphone = telphone,
                    deptname = deptname
                };

                jsonEditHospital = hr.Edit(token, id, he);

            }
            catch (Exception ex)
            {
                AppLog.Instance.Write("EditHospital", AppLog.LogMessageType.Error, ex);
            }
            return jsonEditHospital;
        }