Commit ed6d8359 by guanzhenshan

1

parent 7836d408
using System;
using System.Collections.Generic;
using System.Text;
namespace Bailun.DC.MonthSaleProfit.Models
{
public class mOrder
{
public decimal? amount_sales { get; set; }
public decimal? cost_product { get; set; }
public decimal? cost_platform_fee { get; set; }
public decimal? cost_paypal_fee { get; set; }
public decimal? cost_first { get; set; }
public decimal? cost_logistics { get; set; }
public decimal? cost_handle_platform { get; set; }
public string financecategoryname { get; set; }
public decimal? total_fee { get; set; }
public decimal? cost_fba_fee { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Bailun.DC.MonthSaleProfit.Models
{
public class response_Exchange
{
public decimal rate { get; set; }
public string toCurName { get; set; }
public string createTime { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Bailun.DC.MonthSaleProfit.Models
{
public class response_WithDraw
{
public int total { get; set; }
public List<response_WithDrawData> list { get; set; }
}
public class response_WithDrawData
{
/// <summary>
/// 币种
/// </summary>
public string Currency { get; set; }
/// <summary>
/// 到账金额
/// </summary>
public decimal DaozhangMoney { get; set; }
/// <summary>
/// 手续费
/// </summary>
public decimal ServiceCharge { get; set; }
}
}
......@@ -7,23 +7,23 @@ namespace Bailun.DC.MonthSaleProfit
{
class Program
{
static async Task Main(string[] args)
{
Console.WriteLine("启动服务 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
{
services.AddHostedService<Services>();
});
await builder.RunConsoleAsync();
}
//static void Main(string[] args)
//static async Task Main(string[] args)
//{
// var _services = new Services();
// Console.WriteLine("启动服务 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
// var builder = new HostBuilder().ConfigureServices((hostContext, services) =>
// {
// services.AddHostedService<Services>();
// });
// var start = DateTime.Parse("2020-11-01");
// _services.Init(start);
// await builder.RunConsoleAsync();
//}
static void Main(string[] args)
{
var _services = new Services();
var start = DateTime.Parse("2020-11-01");
_services.InitNew(start);
}
}
}
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