/// <summary> /// 执行Api /// </summary> public ResultModel <object> Do() { string apiUrl = null, apiBody = null; using (StreamReader reader = new StreamReader(HttpContext.Request.Body, Encoding.UTF8)) { var json = JsonHelper.Deserialize <JObject>(reader.ReadToEnd()); apiUrl = CodingHelper.UrlDecode(StringHelper.Get(json["action"])); apiBody = StringHelper.Get(json["content"]); } apiUrl.CheckEmpty(); return(apiUrl.GetResult <object>(apiBody)); }