Commit 075f7de0 by 泽锋 李

fix

parent 359d6348
......@@ -9,5 +9,6 @@
"CdnUrl": "http://imgcache.bailuntec.com"
},
"QiYeJiQiRen": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5fa4c1d5-ce65-4e8a-9ae9-a0d689a13b65",
"GetSchedulings": "http://oa.bailuntec.com/Api/Cq/GetSchedulings?userID=1922"
"GetSchedulings": "http://oa.bailuntec.com/Api/Cq/GetSchedulings?userID=1922",
"postaveragesales": "http://doc.bailuntec.com:6032/postaveragesales"
}
......@@ -9,5 +9,6 @@
"CdnUrl": "http://imgcache.bailuntec.com"
},
"QiYeJiQiRen": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5fa4c1d5-ce65-4e8a-9ae9-a0d689a13b65",
"GetSchedulings": "http://oa.bailuntec.com/Api/Cq/GetSchedulings?userID=1922"
"GetSchedulings": "http://oa.bailuntec.com/Api/Cq/GetSchedulings?userID=1922",
"postaveragesales": "http://10.0.6.27/pds/PdsOpenApi/postaveragesales"
}
......@@ -9,5 +9,6 @@
"CdnUrl": "http://imgcache.bailuntec.com"
},
"QiYeJiQiRen": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5fa4c1d5-ce65-4e8a-9ae9-a0d689a13b65",
"GetSchedulings": "http://oa.bailuntec.com/Api/Cq/GetSchedulings?userID=1922"
"GetSchedulings": "http://oa.bailuntec.com/Api/Cq/GetSchedulings?userID=1922",
"postaveragesales": "http://10.0.6.27/pds/PdsOpenApi/postaveragesales"
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Text;
namespace AutoTurnOver.Models.ApiDto
{
/// <summary>
/// 从pds获取的sku销量
/// </summary>
public class pds_sku_sales_dto
{
public string procudeCode { get; set; }
public string sku { get; set; }
/// <summary>
/// 累积销量
/// </summary>
public decimal salesVolume { get; set; }
/// <summary>
/// 日均销量
/// </summary>
public decimal averageSales { get; set; }
}
}
......@@ -84,6 +84,9 @@ namespace AutoTurnOver.Models
{
public string bailun_sku { get; set; }
public decimal quantity { get; set; }
public decimal share_quantity { get; set; }
public StringBuilder remarks { get; set; }
}
}
......@@ -14,6 +14,7 @@ namespace ShortagePush
Console.WriteLine("推送缺货数据服务");
//new ReportServices().ShortagePush();
//new ReportServices().ShortagePush(platform: "walmart");
new ReportServices().ShortagePush();
var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
{
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