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
ffccd6a8
Commit
ffccd6a8
authored
Mar 31, 2023
by
lizefeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://193.112.143.129/bltdc/data-center-auto
parents
1157ae6c
03c31149
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
BrowseLogAttribute.cs
AutoTurnOver/Common/BrowseLogAttribute.cs
+2
-0
ResetOutofstockBackgrounService.cs
ResetOutofstock/ResetOutofstockBackgrounService.cs
+1
-1
No files found.
AutoTurnOver/Common/BrowseLogAttribute.cs
View file @
ffccd6a8
...
@@ -51,6 +51,7 @@ namespace AutoTurnOver.Common
...
@@ -51,6 +51,7 @@ namespace AutoTurnOver.Common
public
override
void
OnActionExecuted
(
ActionExecutedContext
context
)
public
override
void
OnActionExecuted
(
ActionExecutedContext
context
)
{
{
/*
try
try
{
{
//获取appsetting配置失败暂时直接赋值开启是否开启日志记录功能 “yes”/“no”
//获取appsetting配置失败暂时直接赋值开启是否开启日志记录功能 “yes”/“no”
...
@@ -112,6 +113,7 @@ namespace AutoTurnOver.Common
...
@@ -112,6 +113,7 @@ namespace AutoTurnOver.Common
{
{
Console.WriteLine(e);
Console.WriteLine(e);
}
}
*/
}
}
/// <summary>
/// <summary>
/// HttpClient实现Post请求
/// HttpClient实现Post请求
...
...
ResetOutofstock/ResetOutofstockBackgrounService.cs
View file @
ffccd6a8
...
@@ -244,7 +244,7 @@ namespace ResetOutofstock
...
@@ -244,7 +244,7 @@ namespace ResetOutofstock
try
try
{
{
Console
.
WriteLine
(
$"开始刷新 已经停止监控的周转数据,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
Console
.
WriteLine
(
$"开始刷新 已经停止监控的周转数据,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
dc_auto_turnover
.
ResetHistory
();
//
dc_auto_turnover.ResetHistory();
Console
.
WriteLine
(
$"结束刷新 已经停止监控的周转数据,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
Console
.
WriteLine
(
$"结束刷新 已经停止监控的周转数据,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
...
...
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