Merge branch 'master' of http://47.104.102.122:3000/panhf/CNCEC_SUBQHSE_WUHUAN
This commit is contained in:
@@ -61,11 +61,14 @@ namespace BLL
|
||||
}
|
||||
catch (WebException ex)
|
||||
{
|
||||
string re = string.Empty;
|
||||
response = (HttpWebResponse)ex.Response;
|
||||
ResponseStream = response.GetResponseStream();
|
||||
StreamReader = new StreamReader(ResponseStream, Encoding.GetEncoding("utf-8"));
|
||||
|
||||
string re = StreamReader.ReadToEnd();
|
||||
if (response != null)
|
||||
{
|
||||
ResponseStream = response.GetResponseStream();
|
||||
StreamReader = new StreamReader(ResponseStream, Encoding.GetEncoding("utf-8"));
|
||||
re = StreamReader.ReadToEnd();
|
||||
}
|
||||
return re;
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user