Commit 4542f0ff by 泽锋 李

fix

parent 41d25bd4
......@@ -15,6 +15,8 @@ namespace AutoTurnOver.DB
/// </summary>
public static void SyncData()
{
try
{
int page = 1;
int rows = 100;
// 清理数据重抓
......@@ -43,6 +45,13 @@ namespace AutoTurnOver.DB
break;
}
}
}
catch (Exception)
{
Console.WriteLine("拉取pps数据异常");
}
}
}
}
......@@ -28,10 +28,19 @@ namespace ResetOutofstock
if (now.Hour == 20 && now.Minute == 02)
{
try
{
System.Console.WriteLine($"开始 推送pps回货数据,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
new ReportServices().PPSReturnGoodsPush("walmart");
System.Console.WriteLine($"结束 推送pps回货数据,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
}
catch (Exception ex)
{
Console.WriteLine("推送pps回货异常"+ex.Message);
Console.WriteLine("推送pps回货异常"+ex.StackTrace);
}
}
}
......
......@@ -23,6 +23,7 @@ namespace ShortagePush
//new ReportServices().ShortagePushEbay(true);
//new ReportServices().ReturnGoodsPush();
//new ReportServices().ShortagePushEbay();
//new ReportServices().PPSReturnGoodsPush("walmart");
}
catch (Exception ex)
{
......
......@@ -16,5 +16,9 @@
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
},
"pps-sys": {
"review": "https://pps.bailuntec.com/Api/amazon/analyze/Download/GetReviewInfoBy",
"pps_sell_product": "http://pps.bailuntec.com/WalmartApi/Publish/GetWithSellProductAsync"
}
}
......@@ -16,5 +16,9 @@
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
},
"pps-sys": {
"review": "https://pps.bailuntec.com/Api/amazon/analyze/Download/GetReviewInfoBy",
"pps_sell_product": "http://pps.bailuntec.com/WalmartApi/Publish/GetWithSellProductAsync"
}
}
......@@ -9,5 +9,9 @@
"BrowseLogSetting": {
"Url": "http://saas.admin.bailuntec.com/Api/Ssoadmin/operationloginfo/addoperationloginfo",
"CanLog": "yes"
},
"pps-sys": {
"review": "https://pps.bailuntec.com/Api/amazon/analyze/Download/GetReviewInfoBy",
"pps_sell_product": "http://pps.bailuntec.com/WalmartApi/Publish/GetWithSellProductAsync"
}
}
\ No newline at end of file
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