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
5f3f7036
Commit
5f3f7036
authored
Jun 29, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alipayNotify
parent
f7512765
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
center-channel/app/base/service/impl/utilsSve/utilsUcommuneSve.js
+11
-0
No files found.
center-channel/app/base/service/impl/utilsSve/utilsUcommuneSve.js
View file @
5f3f7036
...
...
@@ -90,6 +90,7 @@ class UtilsUcommuneService extends AppServiceBase {
return
system
.
getResult
(
null
,
orderResult
);
}
else
{
if
(
actionBody
.
payWay
==
1
)
{
// 支付宝
try
{
let
creatPayRequrl
=
"https://yf-api.gongsibao.com/pay/v1/aliPay/getPrePayIdAliPay"
;
let
params
=
{
"app"
:
"ukgc"
,
//固定
...
...
@@ -113,6 +114,16 @@ class UtilsUcommuneService extends AppServiceBase {
return
system
.
getResultSuccess
(
res
.
data
)
}
return
system
.
getResult
(
null
,
res
.
data
);
}
catch
(
e
)
{
this
.
logCtl
.
error
({
optitle
:
"alipay生成支付串---error异常"
,
op
:
"center-app/app/base/service/impl/utilsSve/utilsUcommuneSve.js/orderConfirm"
,
content
:
"参数="
+
JSON
.
stringify
(
parmas
)
+
",error:"
+
e
.
stack
,
clientIp
:
client_ip
||
""
});
return
system
.
getResultFail
(
-
200
,
e
.
stack
);
}
// 之前写的 调用wx/alipay的方法,后续用不到会删掉
// let sign = await PayUtil.getSign(null,"1")
...
...
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