Commit b96e3859 by lizefeng

调缺货推送 stocks 的数据类型

parent 78cfae17
...@@ -23,7 +23,7 @@ namespace AutoTurnOver.Models.ApiDto ...@@ -23,7 +23,7 @@ namespace AutoTurnOver.Models.ApiDto
/// <summary> /// <summary>
/// 库存 /// 库存
/// </summary> /// </summary>
public int stocks { get; set; } public decimal stocks { get; set; }
} }
public class ShortagePush_ResponseDto public class ShortagePush_ResponseDto
......
...@@ -11,7 +11,7 @@ namespace ShortagePush ...@@ -11,7 +11,7 @@ namespace ShortagePush
static async Task Main(string[] args) static async Task Main(string[] args)
{ {
Console.WriteLine("推送缺货数据服务"); Console.WriteLine("推送缺货数据服务");
new ReportServices().ShortagePush(); //new ReportServices().ShortagePush();
var builder = new HostBuilder().ConfigureServices((hostContext, services) => var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
{ {
services.AddHostedService<ShortagePushBackgroundService>(); services.AddHostedService<ShortagePushBackgroundService>();
......
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