Commit e04ee01a by 泽锋 李

新增推送日志

parent 29b4a0be
...@@ -142,6 +142,7 @@ namespace AutoTurnOver.Services ...@@ -142,6 +142,7 @@ namespace AutoTurnOver.Services
//查询采购建议明细 //查询采购建议明细
string url = ConfigHelper.GetValue("PushBuyPlan"); string url = ConfigHelper.GetValue("PushBuyPlan");
string resultStr = HttpHelper.Request(url, RequestType.POST, "obj=" + WebUtility.UrlDecode(data.ToJson()), timeout: 1000 * 60 * 60 * 24); string resultStr = HttpHelper.Request(url, RequestType.POST, "obj=" + WebUtility.UrlDecode(data.ToJson()), timeout: 1000 * 60 * 60 * 24);
Console.WriteLine($" {DateTime.Now} 推送采购单响应结果:"+resultStr);
var result = resultStr.ToObj<BuyOutputResult>(); var result = resultStr.ToObj<BuyOutputResult>();
if (result == null) if (result == null)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment