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
3cbb00d3
Commit
3cbb00d3
authored
Oct 23, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
baiduIcp
parent
b8876f8b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
center-channel/app/base/service/impl/common/centerorderSve.js
+1
-1
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+4
-1
center-channel/app/config/routes/api.js
+2
-2
No files found.
center-channel/app/base/service/impl/common/centerorderSve.js
View file @
3cbb00d3
...
@@ -581,7 +581,7 @@ class CenterorderService extends AppServiceBase {
...
@@ -581,7 +581,7 @@ class CenterorderService extends AppServiceBase {
}
}
pobj
.
actionBody
.
channelSolutionNo
=
pobj
.
actionBody
.
bizId
;
pobj
.
actionBody
.
channelSolutionNo
=
pobj
.
actionBody
.
bizId
;
pobj
.
actionType
=
"receiveSolutionPayInfo"
;
pobj
.
actionType
=
"receiveSolutionPayInfo
New
"
;
var
url
=
settings
.
centerOrderUrl
()
+
"action/icapi/springBoard"
;
var
url
=
settings
.
centerOrderUrl
()
+
"action/icapi/springBoard"
;
var
solutionrtn
=
await
this
.
execClient
.
execPost
(
pobj
,
url
);
var
solutionrtn
=
await
this
.
execClient
.
execPost
(
pobj
,
url
);
if
(
!
solutionrtn
||
!
solutionrtn
.
stdout
)
{
if
(
!
solutionrtn
||
!
solutionrtn
.
stdout
)
{
...
...
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
3cbb00d3
...
@@ -1394,6 +1394,9 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -1394,6 +1394,9 @@ class UtilsNeedService extends AppServiceBase {
async
icpNotifyNew
(
pobj
)
{
async
icpNotifyNew
(
pobj
)
{
var
actionBody
=
pobj
.
actionBody
;
var
actionBody
=
pobj
.
actionBody
;
var
self
=
this
;
var
self
=
this
;
if
(
actionBody
.
isDirectBuy
&&
actionBody
.
isDirectBuy
==
1
){
actionBody
.
bizId
=
actionBody
.
orderNo
}
if
(
!
actionBody
.
bizId
)
{
if
(
!
actionBody
.
bizId
)
{
return
system
.
getResult
(
null
,
"actionBody.bizId can not be empty,100495"
);
return
system
.
getResult
(
null
,
"actionBody.bizId can not be empty,100495"
);
}
}
...
@@ -1401,7 +1404,7 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -1401,7 +1404,7 @@ class UtilsNeedService extends AppServiceBase {
if
(
!
actionBody
.
status
)
{
if
(
!
actionBody
.
status
)
{
return
system
.
getResult
(
null
,
"actionBody.status can not be empty,100495"
);
return
system
.
getResult
(
null
,
"actionBody.status can not be empty,100495"
);
}
}
pobj
.
actionType
=
"receive
Icp
StatusNotify"
;
pobj
.
actionType
=
"receive
Order
StatusNotify"
;
var
url
=
settings
.
centerOrderUrl
()
+
"action/qcapi/springBoard"
;
var
url
=
settings
.
centerOrderUrl
()
+
"action/qcapi/springBoard"
;
var
rtn
=
await
this
.
restPostUrl
(
pobj
,
url
);
var
rtn
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
actionBody
.
status
==
2
)
{
if
(
actionBody
.
status
==
2
)
{
...
...
center-channel/app/config/routes/api.js
View file @
3cbb00d3
...
@@ -282,7 +282,7 @@ module.exports = function (app) {
...
@@ -282,7 +282,7 @@ module.exports = function (app) {
"needBatchUpload"
,
"needBatchUpload"
,
"serviceSubmitOption"
,
"submitWangwenSolution"
,
"closeNeed"
,
"recordLog"
,
"recordLogList"
,
"serviceSubmitOption"
,
"submitWangwenSolution"
,
"closeNeed"
,
"recordLog"
,
"recordLogList"
,
"foodServiceSubmitOption"
,
"submitFoodSolution"
,
"foodCloseNeed"
,
"foodRecordLog"
,
"foodRecordLogList"
,
"foodServiceSubmitOption"
,
"submitFoodSolution"
,
"foodCloseNeed"
,
"foodRecordLog"
,
"foodRecordLogList"
,
"getParamsFor360"
,
"addOrderWeb"
,
"getPayRecords"
,
"getParamsFor360"
,
"addOrderWeb"
,
"getPayRecords"
,
"icpNotifyNew"
,
];
];
if
(
lst
.
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
if
(
lst
.
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
...
@@ -407,7 +407,7 @@ module.exports = function (app) {
...
@@ -407,7 +407,7 @@ module.exports = function (app) {
req
.
body
.
appInfo
=
result
.
data
;
req
.
body
.
appInfo
=
result
.
data
;
req
.
body
.
actionProcess
=
result
.
data
.
app_code
;
req
.
body
.
actionProcess
=
result
.
data
.
app_code
;
var
lst
=
[
var
lst
=
[
"submitNeed"
,
"paySuccess"
,
"icpNotify"
"submitNeed"
,
"paySuccess"
,
"icpNotify"
,
"icpNotifyNew"
];
];
if
(
lst
.
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
if
(
lst
.
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
var
userpin
=
req
.
headers
[
"userpin"
]
||
""
;
var
userpin
=
req
.
headers
[
"userpin"
]
||
""
;
...
...
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