SVN-Revision: r559
This commit is contained in:
wyf
2025-05-08 12:17:54 +00:00
parent d24d318f26
commit b9d43a840b
2 changed files with 3 additions and 4 deletions
+2 -1
View File
@@ -66,6 +66,7 @@ namespace Lskj.Util
byteRequest = Encoding.UTF8.GetBytes(postData);
break;
}
httpWebRequest.ContentLength = byteRequest.Length;
}
else if (pmsDic != null)
{
@@ -87,8 +88,8 @@ namespace Lskj.Util
byteRequest = Encoding.UTF8.GetBytes(builder.ToString());
break;
}
httpWebRequest.ContentLength = byteRequest.Length;
}
httpWebRequest.ContentLength = byteRequest.Length;
Stream stream = httpWebRequest.GetRequestStream();
stream.Write(byteRequest, 0, byteRequest.Length);
stream.Close();