util/HttpHelper.cs
@@ -9,7 +9,7 @@ public class HttpHelper { public string WebPost(string url, string postData, string cotentType = "application/json") { Console.WriteLine(url); LogHelper.Info($"WebPost:访问:{url}", "API"); WebRequest request = WebRequest.Create(url); request.Method = "POST"; //string postData = JsonConvert.SerializeObject(data); ; @@ -35,7 +35,7 @@ } catch (Exception e) { LogHelper.Info($"WebPost res={e.Message}", "API"); LogHelper.Info($"WebPost:异常:{e.Message}\n\n{e.StackTrace}\n", "API"); return ""; } finally