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
02bdf745
Commit
02bdf745
authored
Mar 31, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
80c3d825
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
center-app/app/base/service/impl/utilsSve/utilsAlibankSve.js
+3
-2
No files found.
center-app/app/base/service/impl/utilsSve/utilsAlibankSve.js
View file @
02bdf745
...
@@ -21,21 +21,22 @@ class utilsTlBankSve extends AppServiceBase {
...
@@ -21,21 +21,22 @@ class utilsTlBankSve extends AppServiceBase {
async
getH5AliDingPayInfo
(
pobj
,
actionBody
)
{
async
getH5AliDingPayInfo
(
pobj
,
actionBody
)
{
var
payParam
=
await
this
.
apppaliparamDao
.
getItemByUAppId
(
pobj
.
appInfo
.
uapp_id
);
var
payParam
=
await
this
.
apppaliparamDao
.
getItemByUAppId
(
pobj
.
appInfo
.
uapp_id
);
if
(
!
payParam
)
{
if
(
!
payParam
)
{
return
{
status
:
-
310
,
msg
:
"应用没有对应的支付凭证"
}
return
{
status
:
-
310
,
msg
:
"应用没有对应的支付凭证"
}
;
}
}
var
parameters
=
{
var
parameters
=
{
service
:
"mobile.securitypay.pay"
,
service
:
"mobile.securitypay.pay"
,
partner
:
payParam
.
partner
,
partner
:
payParam
.
partner
,
_input_charset
:
"utf-8"
,
_input_charset
:
"utf-8"
,
notify_url
:
payParam
.
notify_url
,
notify_url
:
payParam
.
notify_url
,
// app_id: pobj.appInfo.uapp_id.toString(),//可为空
out_trade_no
:
actionBody
.
order_num
,
out_trade_no
:
actionBody
.
order_num
,
subject
:
actionBody
.
body_desc
,
subject
:
actionBody
.
body_desc
,
payment_type
:
"1"
,
payment_type
:
"1"
,
seller_id
:
payParam
.
seller_id
,
seller_id
:
payParam
.
seller_id
,
total_fee
:
actionBody
.
total_fee
,
total_fee
:
actionBody
.
total_fee
,
body
:
actionBody
.
body_desc
,
sign_type
:
"RSA"
sign_type
:
"RSA"
};
};
var
signStr
=
await
this
.
getCreateAliSignStr
(
payParam
,
parameters
);
var
signStr
=
await
this
.
getCreateAliSignStr
(
payParam
,
parameters
);
parameters
.
sign
=
signStr
;
parameters
.
sign
=
signStr
;
return
system
.
getResultSuccess
(
parameters
);
return
system
.
getResultSuccess
(
parameters
);
...
...
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