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
64a95b0a
Commit
64a95b0a
authored
Dec 04, 2019
by
王栋源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdy
parent
4a6322c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
igirl-channel-gateway/app/base/api/impl/action/tradetransfer.js
+7
-6
No files found.
igirl-channel-gateway/app/base/api/impl/action/tradetransfer.js
View file @
64a95b0a
...
...
@@ -8,7 +8,7 @@ class TradetransferAPI extends APIBase {
this
.
execlient
=
system
.
getObject
(
"util.execClient"
);
this
.
channelApiUrl
=
settings
.
channelApiUrl
();
this
.
appInfo
=
{
aliyuntmtransfer
:
{
appkey
:
"20191
2031344"
,
secret
:
"7cbb846246874167b5c7e01cd0016c88
"
}
aliyuntmtransfer
:
{
appkey
:
"20191
1131657"
,
secret
:
"eeb18393aade40149287b024d8ba0850
"
}
};
}
...
...
@@ -31,21 +31,22 @@ class TradetransferAPI extends APIBase {
}
//订单创建
async
createtransfer
(
obj
)
{
async
acceptOrder
(
p
,
obj
)
{
var
sobj
=
{
"actionProcess"
:
"aliyuntmtransfer"
,
"actionType"
:
"aliclient"
,
"sign"
:
"2FviZ9PGws8Pt1fBhq0t90mjUvI"
,
"isUser"
:
"yes"
,
"actionBody"
:
obj
}
var
tokenInfo
=
await
this
.
getToken
();
var
url
=
this
.
channelApiUrl
+
"/api/
transfer/tradeApi
/createtransfer"
;
var
url
=
this
.
channelApiUrl
+
"/api/
action/tradetransfer
/createtransfer"
;
var
rtn
=
await
this
.
execlient
.
execPostTK
(
sobj
,
url
,
tokenInfo
.
data
.
token
);
//
var rtn = await this.execlient.execPostTK(sobj, url,"token");
//var rtn = await this.execlient.execPostTK(sobj, url,"token");
return
rtn
;
}
//订单查询
async
ordersel
(
p
,
obj
)
{
async
queryOrderState
(
p
,
obj
)
{
var
sobj
=
{
"actionProcess"
:
"aliyuntmtransfer"
,
"actionType"
:
"aliclient"
,
...
...
@@ -60,7 +61,7 @@ class TradetransferAPI extends APIBase {
}
//订单关闭
async
orderclose
(
obj
)
{
async
closeOrder
(
p
,
obj
)
{
var
sobj
=
{
"actionProcess"
:
"aliyuntmtransfer"
,
"actionType"
:
"aliclient"
,
...
...
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