Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
DataCenter_Core2.1_20190520
Commits
ed6d8359
Commit
ed6d8359
authored
Dec 04, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7836d408
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
91 additions
and
15 deletions
+91
-15
mOrder.cs
Bailun.DC.MonthSaleProfit/Models/mOrder.cs
+30
-0
response_Exchange.cs
Bailun.DC.MonthSaleProfit/Models/response_Exchange.cs
+15
-0
response_WithDraw.cs
Bailun.DC.MonthSaleProfit/Models/response_WithDraw.cs
+31
-0
Program.cs
Bailun.DC.MonthSaleProfit/Program.cs
+15
-15
Services.cs
Bailun.DC.MonthSaleProfit/Services.cs
+0
-0
No files found.
Bailun.DC.MonthSaleProfit/Models/mOrder.cs
0 → 100644
View file @
ed6d8359
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
;
}
}
}
Bailun.DC.MonthSaleProfit/Models/response_Exchange.cs
0 → 100644
View file @
ed6d8359
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
;
}
}
}
Bailun.DC.MonthSaleProfit/Models/response_WithDraw.cs
0 → 100644
View file @
ed6d8359
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
;
}
}
}
Bailun.DC.MonthSaleProfit/Program.cs
View file @
ed6d8359
...
...
@@ -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
);
}
}
}
Bailun.DC.MonthSaleProfit/Services.cs
View file @
ed6d8359
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment