Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
9 years ago
Commit
beccf7bee9c43826c268aaa1114c1b1ca69dec92
1 parent
df9111bd
href to pay
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
apps/shopping/controllers/order.js
apps/shopping/controllers/order.js
View file @
beccf7b
...
...
@@ -76,8 +76,8 @@ const orderSub = (req, res, next) => {
// 拼接地址
if
(
result
.
code
===
200
)
{
result
.
data
.
payUrl
=
helper
.
urlFormat
(
'/shopping/pay'
,
{
orderCode
:
result
.
data
.
order_code
result
.
data
.
payUrl
=
helper
.
urlFormat
(
'/shopping/pay/online'
,
{
code
:
result
.
data
.
order_code
});
}
res
.
send
(
result
);
...
...
Please
register
or
login
to post a comment