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
dc701be7
Commit
dc701be7
authored
Dec 12, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
6e04aa48
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
16 deletions
+8
-16
igirl-channel-jdweb/app/base/controller/impl/trademark/tmqueryCtl.js
+8
-16
No files found.
igirl-channel-jdweb/app/base/controller/impl/trademark/tmqueryCtl.js
View file @
dc701be7
...
...
@@ -306,16 +306,8 @@ class tmqueryCtl extends CtlBase {
return
system
.
getResultFail
(
-
200
,
"操作error"
);
}
}
var
reqobj
=
{
"actionProcess"
:
pobj
.
actionProcess
||
""
,
"actionType"
:
pobj
.
actionType
||
""
,
"sign"
:
pobj
.
sign
||
""
,
"isUser"
:
pobj
.
isUser
||
"yes"
,
//是否需要验证用户,no否,yes是
"isDecryptUser"
:
pobj
.
isDecryptUser
||
"no"
,
//是否解密用户Id,no否,yes是
"actionBody"
:
pobj
.
actionBody
||
null
};
async
opPayPageInfo
(
pobj
,
orderResult
,
req
)
{
async
opPayPageInfo
(
pobj
,
orderResult
,
req
)
{
if
(
!
pobj
.
actionBody
.
itemCode
)
{
return
system
.
getResult
(
null
,
"itemCode param is not empty"
);
}
...
...
@@ -343,8 +335,8 @@ async opPayPageInfo(pobj, orderResult, req) {
return
system
.
getResult
(
null
,
"pay page is error"
);
}
return
system
.
getResultSuccess
();
}
async
putPayOrderData
(
pobj
,
orderResult
,
payDataResult
,
req
)
{
}
async
putPayOrderData
(
pobj
,
orderResult
,
payDataResult
,
req
)
{
var
tokenInfo
=
await
this
.
getToken
(
pobj
.
actionProcess
);
if
(
tokenInfo
.
status
!=
0
)
{
return
tokenInfo
;
...
...
@@ -365,8 +357,8 @@ async putPayOrderData(pobj, orderResult, payDataResult, req) {
var
reqUrl
=
this
.
channelApiUrl
+
"/action/tmOrder/springBoard"
;
var
tmp
=
await
this
.
execClient
.
execPostTK
(
param
,
reqUrl
,
tokenInfo
.
data
.
token
);
console
.
log
(
tmp
,
"putPayOrderData########################################333333..........tmptmptmptmp................."
);
}
async
getPayPageAddr
(
itemCode
,
itemCodeList
,
req
)
{
}
async
getPayPageAddr
(
itemCode
,
itemCodeList
,
req
)
{
try
{
const
{
Signer
,
Context
}
=
require
(
'../jd-gateway-sdk'
);
...
...
@@ -475,8 +467,8 @@ async getPayPageAddr(itemCode, itemCodeList, req) {
console
.
log
(
errorMsg
,
"--jd>>>>>>>errorMsg..............................>>>>>>"
);
return
{
success
:
false
,
code
:
-
200
,
msg
:
errorMsg
.
stack
};
}
}
async
pushPayOrder
(
pushData
,
req
)
{
//处理京东推送的订单信息
}
async
pushPayOrder
(
pushData
,
req
)
{
//处理京东推送的订单信息
try
{
var
signResult
=
await
this
.
createSign
(
pushData
,
"6B876EB84731E166D76E1F73AD5764BA"
,
true
);
if
(
signResult
.
status
!=
0
)
{
...
...
@@ -529,7 +521,7 @@ async pushPayOrder(pushData, req) {//处理京东推送的订单信息
console
.
log
(
error
.
stack
,
"操作error..................."
);
return
system
.
getResultFail
(
-
200
,
"操作error"
);
}
}
}
}
module
.
exports
=
tmqueryCtl
;
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