This commit is contained in:
2025-09-13 13:09:29 +08:00
134 changed files with 19704 additions and 2557 deletions
+7 -4
View File
@@ -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