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
244feaa6
Commit
244feaa6
authored
Jun 19, 2023
by
lizefeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into develop
parents
62e5ec6f
83a38fd9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
ApiServices.cs
AutoTurnOver.Services/ApiServices.cs
+3
-3
ReportServices.cs
AutoTurnOver.Services/ReportServices.cs
+1
-0
Program.cs
ShortagePush/Program.cs
+1
-1
appsettings.prod.json
ShortagePush/appsettings.prod.json
+3
-1
No files found.
AutoTurnOver.Services/ApiServices.cs
View file @
244feaa6
...
@@ -574,7 +574,7 @@ namespace AutoTurnOver.Services
...
@@ -574,7 +574,7 @@ namespace AutoTurnOver.Services
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
ApiServices
.
QiYeJiQiRenMsPush
(
new
QiYeJiQiRenMsDto
{
msgtype
=
"text"
,
text
=
new
QiYeJiQiRenMsDto
.
text_dto
{
content
=
" 改0推送异常 :"
+
ex
.
Message
}
});
throw
;
throw
;
}
}
...
@@ -664,9 +664,9 @@ namespace AutoTurnOver.Services
...
@@ -664,9 +664,9 @@ namespace AutoTurnOver.Services
return
result
;
return
result
;
}
}
public
static
void
QiYeJiQiRenMsPush
(
QiYeJiQiRenMsDto
data
)
public
static
void
QiYeJiQiRenMsPush
(
QiYeJiQiRenMsDto
data
,
string
key
=
"QiYeJiQiRen"
)
{
{
string
url
=
ConfigHelper
.
GetValue
(
"QiYeJiQiRen"
);
string
url
=
ConfigHelper
.
GetValue
(
key
);
string
resultStr
=
HttpHelper
.
Request
(
url
,
RequestType
.
POST
,
data
.
ToJson
(),
timeout
:
1000
*
60
*
60
*
24
,
entype
:
"application/json"
);
string
resultStr
=
HttpHelper
.
Request
(
url
,
RequestType
.
POST
,
data
.
ToJson
(),
timeout
:
1000
*
60
*
60
*
24
,
entype
:
"application/json"
);
}
}
...
...
AutoTurnOver.Services/ReportServices.cs
View file @
244feaa6
...
@@ -631,6 +631,7 @@ namespace AutoTurnOver.Services
...
@@ -631,6 +631,7 @@ namespace AutoTurnOver.Services
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
ApiServices
.
QiYeJiQiRenMsPush
(
new
QiYeJiQiRenMsDto
{
msgtype
=
"text"
,
text
=
new
QiYeJiQiRenMsDto
.
text_dto
{
content
=
" 改0推送异常 :"
+
ex
.
Message
}
});
Console
.
WriteLine
(
ex
.
Message
);
Console
.
WriteLine
(
ex
.
Message
);
Console
.
WriteLine
(
ex
.
StackTrace
);
Console
.
WriteLine
(
ex
.
StackTrace
);
}
}
...
...
ShortagePush/Program.cs
View file @
244feaa6
...
@@ -22,7 +22,7 @@ namespace ShortagePush
...
@@ -22,7 +22,7 @@ namespace ShortagePush
//new ReportServices().ShortagePushEbay(true, true);
//new ReportServices().ShortagePushEbay(true, true);
//new ReportServices().ShortagePushEbay(true);
//new ReportServices().ShortagePushEbay(true);
//new ReportServices().ReturnGoodsPush();
//new ReportServices().ReturnGoodsPush();
//new ReportServices().ShortagePush
Ebay
();
//new ReportServices().ShortagePush();
//new ReportServices().PPSReturnGoodsPush("walmart");
//new ReportServices().PPSReturnGoodsPush("walmart");
//new ReportServices().ShortagePushEbay(true);
//new ReportServices().ShortagePushEbay(true);
...
...
ShortagePush/appsettings.prod.json
View file @
244feaa6
...
@@ -13,5 +13,6 @@
...
@@ -13,5 +13,6 @@
"pps-sys"
:
{
"pps-sys"
:
{
"review"
:
"https://pps.bailuntec.com/Api/amazon/analyze/Download/GetReviewInfoBy"
,
"review"
:
"https://pps.bailuntec.com/Api/amazon/analyze/Download/GetReviewInfoBy"
,
"pps_sell_product"
:
"http://pps.bailuntec.com/WalmartApi/Publish/GetWithSellProductAsync"
"pps_sell_product"
:
"http://pps.bailuntec.com/WalmartApi/Publish/GetWithSellProductAsync"
}
},
"QiYeJiQiRen"
:
"https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=5fa4c1d5-ce65-4e8a-9ae9-a0d689a13b65"
}
}
\ No newline at end of file
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