Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
410aebec
Commit
410aebec
authored
Jul 31, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
91f02175
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
31 deletions
+21
-31
center-channel/app/base/service/impl/common/centerorderSve.js
+9
-9
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+12
-22
No files found.
center-channel/app/base/service/impl/common/centerorderSve.js
View file @
410aebec
...
...
@@ -203,15 +203,15 @@ class CenterorderService extends AppServiceBase {
/**
* 推送ICP交付信息至企业宝(交付系统)
*/
async
pushIcpOrderDelivery2Qfb
(
orderNo
,
needsolution
)
{
var
pushObj
=
{
orderNo
:
orderNo
,
needsolution
:
needsolution
.
solutionContent
};
var
url
=
this
.
qifubaoUrl
+
"xxx/xxxxx"
;
var
rtn
=
await
this
.
execClient
.
execPost
(
pushObj
,
url
);
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
return
system
.
getResultSuccess
(
data
);
async
pushIcpOrderDelivery2Qfb
(
orderNo
,
needsolution
,
status
)
{
//
var pushObj = {
//
orderNo: orderNo,
//
needsolution: needsolution.solutionContent
//
};
//
var url = this.qifubaoUrl + "xxx/xxxxx";
//
var rtn = await this.execClient.execPost(pushObj, url);
//
var data = JSON.parse(rtn.stdout);
//
return system.getResultSuccess(data);
}
async
icppaysuccess
(
pobj
)
{
...
...
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
410aebec
...
...
@@ -55,17 +55,7 @@ class UtilsNeedService extends AppServiceBase {
return
result
;
}
//调用center-order
async
reqCenterOrderApi
(
pobj
,
reqUrl
)
{
var
url
=
this
.
centerOrderUrl
+
"action/icpapi/springBoard"
;
if
(
reqUrl
)
{
var
url
=
this
.
centerOrderUrl
+
reqUrl
;
}
pobj
.
actionType
=
"receiveIcpFeedback"
;
var
rtn
=
await
this
.
execClient
.
execPost
(
pobj
,
url
);
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
return
data
;
}
//调用center-order icp需求反馈
async
reqCenterOrderQcApi
(
pobj
,
reqUrl
)
{
...
...
@@ -119,17 +109,17 @@ class UtilsNeedService extends AppServiceBase {
return
result
;
}
//调用center-order icp需求反馈
async
reqCenterOrderApi
(
pobj
,
reqUrl
)
{
var
url
=
this
.
centerOrderUrl
+
"action/icpapi/springBoard"
;
if
(
reqUrl
)
{
var
url
=
this
.
centerOrderUrl
+
reqUrl
;
}
pobj
.
actionType
=
"receiveIcpFeedback"
;
var
rtn
=
await
this
.
execClient
.
execPost
(
pobj
,
url
);
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
return
data
;
}
//
//
调用center-order icp需求反馈
//
async reqCenterOrderApi(pobj, reqUrl) {
//
var url = this.centerOrderUrl + "action/icpapi/springBoard";
//
if (reqUrl) {
//
var url = this.centerOrderUrl + reqUrl;
//
}
//
pobj.actionType = "receiveIcpFeedback";
//
var rtn = await this.execClient.execPost(pobj, url);
//
var data = JSON.parse(rtn.stdout);
//
return data;
//
}
/**
* 获取需求详情
...
...
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