|
@@ -272,7 +272,9 @@ namespace LJLib.HttpServer
|
|
|
string apiName = method;
|
|
|
Type requestType = server.GetRequestType(apiName);
|
|
|
string body = requestbody;
|
|
|
- requestlist = parser.JsonParse(requestType, body) as ILJRequest;
|
|
|
+
|
|
|
+ requestlist = JsonConvert.DeserializeObject(body, requestType) as ILJRequest;
|
|
|
+ //requestlist = parser.JsonParse(requestType, body) as ILJRequest;
|
|
|
responselist = server.DoExcute(requestlist, null);
|
|
|
if (!string.IsNullOrEmpty(responselist.ErrMsg))
|
|
|
{
|