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
3426e933
Commit
3426e933
authored
Jul 28, 2020
by
王栋源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdy
parent
dc508ef6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
center-channel/app/base/api/impl/opreceive/need.js
+1
-1
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+14
-2
No files found.
center-channel/app/base/api/impl/opreceive/need.js
View file @
3426e933
...
...
@@ -58,7 +58,7 @@ class Need extends APIBase {
break
;
case
"icpFeedbackSubmit"
:
//icp接收方案反馈信息
pobj
.
actionType
=
"receiveIcpFeedback"
;
opResult
=
await
this
.
utilsNeedSve
.
reqCenterOrderApi
(
pobj
);
opResult
=
await
this
.
utilsNeedSve
.
reqCenterOrder
Qc
Api
(
pobj
);
break
;
case
"icpNotify"
:
//icp方案更新
var
rtn
=
await
this
.
utilsNeedSve
.
icpNotify
(
pobj
,
pobj
.
actionBody
);
...
...
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
3426e933
...
...
@@ -55,7 +55,7 @@ class UtilsNeedService extends AppServiceBase {
return
result
;
}
//调用center-order
icp需求反馈
//调用center-order
async
reqCenterOrderApi
(
pobj
,
reqUrl
)
{
var
url
=
this
.
centerOrderUrl
+
"action/icpapi/springBoard"
;
if
(
reqUrl
)
{
...
...
@@ -67,6 +67,18 @@ class UtilsNeedService extends AppServiceBase {
return
data
;
}
//调用center-order icp需求反馈
async
reqCenterOrderQcApi
(
pobj
,
reqUrl
)
{
var
url
=
this
.
centerOrderUrl
+
"action/qcapi/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
;
}
/**
* 提交需求
* @param {*} pobj
...
...
@@ -254,7 +266,7 @@ class UtilsNeedService extends AppServiceBase {
actionBody
.
newuserOtherList
=
newuserOtherList
;
}
pobj
.
actionType
=
"receiveIcpStatusNotify"
;
var
url
=
settings
.
centerOrderUrl
()
+
"action/
icp
api/springBoard"
;
var
url
=
settings
.
centerOrderUrl
()
+
"action/
qc
api/springBoard"
;
var
rtn
=
await
this
.
restPostUrl
(
pobj
,
url
);
return
rtn
;
}
...
...
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