Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
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
data-center-auto
Commits
5667dee2
Commit
5667dee2
authored
Mar 01, 2023
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试完毕,发布亚马逊结算报表拉取服务
parent
44395003
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
25 deletions
+5
-25
AmazonDataSynchroService.cs
AutoTurnOver.Services/AmazonDataSynchroService.cs
+0
-0
ApiAmzonResponseDto.cs
AutoTurnOver.Services/Dto/ApiAmzonResponseDto.cs
+0
-0
Program.cs
ResetOutofstock/Program.cs
+4
-4
ResetOutofstockBackgrounService.cs
ResetOutofstock/ResetOutofstockBackgrounService.cs
+1
-21
No files found.
AutoTurnOver.Services/AmazonDataSynchroService.cs
View file @
5667dee2
This diff is collapsed.
Click to expand it.
AutoTurnOver.Services/Dto/ApiAmzonResponseDto.cs
View file @
5667dee2
This diff is collapsed.
Click to expand it.
ResetOutofstock/Program.cs
View file @
5667dee2
...
...
@@ -53,10 +53,10 @@ namespace ResetOutofstock
//dc_ana_deviation_dao.PushAnaTask();
//new AmazonDataSynchroService().SynchroFinancialEventGroups();
//new AmazonDataSynchroService().SynchroReportIds();
while
(
true
)
{
new
AmazonDataSynchroService
().
AnaReport
();
}
//
while (true)
//
{
//
new AmazonDataSynchroService().AnaReport();
//
}
}
...
...
ResetOutofstock/ResetOutofstockBackgrounService.cs
View file @
5667dee2
...
...
@@ -613,27 +613,7 @@ namespace ResetOutofstock
});
Task
.
Factory
.
StartNew
(()
=>
{
while
(
true
)
{
try
{
Console
.
WriteLine
(
$"开始 拉取亚马逊费用流水,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
new
AmazonDataSynchroService
().
SynchroFee
();
Console
.
WriteLine
(
$"结束 拉取亚马逊费用流水,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
Thread
.
Sleep
(
10
*
60
*
1000
);
}
catch
(
Exception
ex
)
{
Console
.
WriteLine
(
" 拉取亚马逊费用流水:"
+
ex
.
Message
);
Console
.
WriteLine
(
" 拉取亚马逊费用流水 :"
+
ex
.
StackTrace
);
}
}
});
Task
.
Factory
.
StartNew
(()
=>
{
...
...
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