mirror of
https://github.com/RRQM/TouchSocket.git
synced 2025-12-20 02:16:42 +08:00
优化:WebApi接收方式
This commit is contained in:
@@ -56,7 +56,8 @@ namespace RRQMSocket.RPC.WebApi
|
||||
{
|
||||
if (i == 0)
|
||||
{
|
||||
methodInvoker.Parameters[i] = SerializeConvert.XmlDeserializeFromBytes(httpRequest.Body.ToArray(), methodInstance.ParameterTypes[0]);
|
||||
methodInvoker.Parameters[i] = SerializeConvert.XmlDeserializeFromBytes(
|
||||
httpRequest.Encoding.GetBytes(httpRequest.BodyString), methodInstance.ParameterTypes[0]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user