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
a4ba3e12
Commit
a4ba3e12
authored
Jan 12, 2020
by
王栋源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdy
parent
9a6967b6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
0 deletions
+63
-0
center-app/app/base/api/impl/payment/paymentApi.js
+63
-0
center-app/app/base/service/impl/utilsSve/utilstlbankSve.js
+0
-0
No files found.
center-app/app/base/api/impl/payment/paymentApi.js
0 → 100644
View file @
a4ba3e12
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
class
PaymentAPI
extends
APIBase
{
constructor
()
{
super
();
this
.
utilstlbankSve
=
system
.
getObject
(
"service.utilsSve.utilstlbankSve"
);
}
async
test
(
pobj
,
query
,
req
)
{
// var tmp = await this.orderSve.createLicense(pobj.action_body);
return
system
.
getResultSuccess
({
req
:
"ok"
});
}
async
h5payment
(
p
,
o
,
r
){
var
a
=
await
this
.
utilstlbankSve
.
getH5Url
(
o
.
app_id
,
o
.
order_num
,
o
.
total_fee
,
null
,
o
.
body_desc
,
null
,
o
.
opType
);
return
a
;
}
async
getQrCode
(
pobj
,
o
,
r
){
var
rtn
=
await
this
.
utilstlbankSve
.
getQrCode
(
pobj
.
actionBody
.
uapp_id
,
pobj
.
actionBody
.
order_num
,
pobj
.
actionBody
.
total_fee
,
pobj
.
actionBody
.
body_desc
,
pobj
.
actionBody
.
opType
);
return
rtn
;
}
async
queryOrder
(
pobj
,
o
,
r
){
var
rtn
=
await
this
.
utilstlbankSve
.
queryOrder
(
pobj
.
actionBody
.
uapp_id
,
pobj
.
actionBody
.
trxid
);
return
rtn
;
}
async
receiveCallBackNotify
(
pobj
,
o
,
r
){
var
rtn
=
await
this
.
utilstlbankSve
.
receiveCallBackNotify
(
pobj
.
actionBody
.
parmas
,
pobj
.
client_ip
);
return
rtn
;
}
exam
()
{
return
""
;
}
classDesc
()
{
return
{
groupName
:
""
,
groupDesc
:
""
,
name
:
""
,
desc
:
""
,
exam
:
""
,
};
}
methodDescs
()
{
return
[
{
methodDesc
:
""
,
methodName
:
""
,
paramdescs
:
[
{
paramDesc
:
""
,
paramName
:
""
,
paramType
:
""
,
defaultValue
:
""
,
}
],
rtnTypeDesc
:
""
,
rtnType
:
""
}
];
}
}
module
.
exports
=
PaymentAPI
;
\ No newline at end of file
center-app/app/base/service/impl/utilsSve/utilstlbankSve.js
0 → 100644
View file @
a4ba3e12
This diff is collapsed.
Click to expand it.
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