private void _GetDonateInfo(object sender, DownloadStringCompletedEventArgs e) { string _WebInfo = e.Result; if (_WebInfo.Length > 0) { m_pTemplePayHistoryData = JsonConvert.DeserializeObject <TemplePayHistory>(_WebInfo); } }
//寺庙布施记录 public void GetTemplePayHistorybyWebService() { if (m_pTemplePayHistoryData.body != null) { m_pTemplePayHistoryData.success = false; m_pTemplePayHistoryData.msg = ""; m_pTemplePayHistoryData.errorCode = 0; m_pTemplePayHistoryData.body.data.Clear(); m_pTemplePayHistoryData.body = null; } string ssString = getInfoFromInterFace("TemplePayHistory_Interface", "Interface_Param", "Interface_id"); if (ssString.Length > 0) { m_pTemplePayHistoryData = JsonConvert.DeserializeObject <TemplePayHistory>(ssString); } }