public string GetUserInfo(string userid)
        {
            var token = Session["token"] == null ? "XXXXXXX" : Session["token"].ToString();
            UserRequest user = new UserRequest();

            return user.getProfile(token, userid);
        }
        //保存资料
        public string saveInforamtion(string username, string mobile, string email, string idcard, string avatar, string userId, string sex, string ethnic, string height, string weight, string address, string doctorid)
        {
            UserRequest user = new UserRequest();
            string apiResponse = string.Empty;

            var token = Session["token"] == null ? "XXXXXXX" : Session["token"].ToString();
            try
            {
                apiResponse = user.getProfile(token, username, email, "", avatar, sex, ethnic, height, weight, address, doctorid);
            }
            catch (Exception ex)
            {
                AppLog.Instance.Write("saveInforamtion", AppLog.LogMessageType.Error, ex);
            }

            return apiResponse;
        }
        //查看医生患者资料
        public string getuserinformation(string userId)
        {
            UserRequest user = new UserRequest();
            string apiResponse = string.Empty;

            var token = Session["token"] == null ? "XXXXXXX" : Session["token"].ToString();
            try
            {
                apiResponse = user.getProfile(token, userId);
            }
            catch (Exception ex)
            {
                throw;
            }

            return apiResponse;
        }