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
d60e7aed
Commit
d60e7aed
authored
Jul 25, 2019
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购单推送失败时,记录异常信息
parent
a948a216
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
ApiServices.cs
AutoTurnOver.Services/ApiServices.cs
+9
-0
No files found.
AutoTurnOver.Services/ApiServices.cs
View file @
d60e7aed
...
...
@@ -135,6 +135,8 @@ namespace AutoTurnOver.Services
/// <returns></returns>
public
static
BuyOutputResult
PushBuyPlan
(
mPlanToPurchaseDto
data
,
bool
is_skip_error
)
{
try
{
//查询采购建议明细
string
url
=
ConfigHelper
.
GetValue
(
"PushBuyPlan"
);
string
resultStr
=
HttpHelper
.
Request
(
url
,
RequestType
.
POST
,
"obj="
+
WebUtility
.
UrlDecode
(
data
.
ToJson
()),
timeout
:
1000
*
60
*
60
*
24
);
...
...
@@ -184,6 +186,13 @@ namespace AutoTurnOver.Services
}
return
result
;
}
catch
(
Exception
ex
)
{
throw
new
Exception
(
" 采购推送操作异常: "
+
ex
.
Message
)
;
}
}
/// <summary>
/// 提取sku
...
...
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