//二维码
        public void GetqRCodeInfobyWebService()
        {
            m_pqRCodeInfoData.body = null;

            string ssString = getInfoFromInterFace("qRCodeInfo_Interface", "housePayHistory_Param", "housePayHistory_id");

            if (ssString.Length > 0)
            {
                m_pqRCodeInfoData = JsonConvert.DeserializeObject <qRCodeInfo>(ssString);
                if (m_pqRCodeInfoData.body.data != null &&
                    m_pqRCodeInfoData.body.data.url != null &&
                    m_pqRCodeInfoData.body.data.url.Length > 0)
                {
                    if (!m_pqRCodeInfoData.body.data.url.Contains(@"http"))
                    {
                        m_pqRCodeInfoData.body.data.url = getFullpathPicLink(m_pqRCodeInfoData.body.data.url);
                    }
                    else
                    {
                        string strUrl = m_pqRCodeInfoData.body.data.url;
                        m_pqRCodeInfoData.body.data.url = strUrl.Substring(1, strUrl.Length - 1);
                    }
                }
            }
        }
Example #2
0
        //二维码
        public void GetqRCodeInfobyWebService()
        {
            m_pqRCodeInfoData.body = null;

            string ssString = getInfoFromInterFace("qRCodeInfo_Interface", "housePayHistory_Param", "housePayHistory_id");

            if (ssString.Length > 0)
            {
                m_pqRCodeInfoData = JsonConvert.DeserializeObject <qRCodeInfo>(ssString);
                if (m_pqRCodeInfoData != null &&
                    m_pqRCodeInfoData.body != null &&
                    m_pqRCodeInfoData.body.data != null)
                {
                    if (m_pqRCodeInfoData.body.data.url != null)
                    {
                        m_pqRCodeInfoData.body.data.url = getFullpathPicLink(m_pqRCodeInfoData.body.data.url);
                    }
                }
            }
        }