public IActionResult Route(string content)
        {
            var resultString = "";

            try
            {
                resultString = SfExpressNoticeTranslate.RouteProcess(content, s =>
                {
                    //处理回调信息
                    Console.WriteLine(Newtonsoft.Json.JsonConvert.SerializeObject(s));
                    return(true);
                });
            }
            catch (Exception ex)
            {
                resultString = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?><Response service=\"RoutePushService\"><Head>ERR</Head><ERROR code=\"4001\">" + ex.Message + "</ERROR></Response>";
            }

            return(Content(resultString, "application/xml"));
        }
        public async Task <IActionResult> Route()
        {
            using (var reader = new StreamReader(Request.Body))
            {
                var content = await reader.ReadToEndAsync();

                var resultString = "";
                try
                {
                    resultString = SfExpressNoticeTranslate.RouteProcess(content, routeNode =>
                    {
                        //处理回调信息
                        Console.WriteLine(JsonSerializer.Serialize(routeNode));
                        return(true);
                    });
                }
                catch (Exception ex)
                {
                    resultString = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?><Response service=\"RoutePushService\"><Head>ERR</Head><ERROR code=\"4001\">" + ex.Message + "</ERROR></Response>";
                }

                return(Content(resultString, "application/xml"));
            }
        }