Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
2017-09-12 16:12:51 +0800
Commit
f180ac2aa5ecc088407bad97619a257cbf0ce9d7
1 parent
55019bd9
payModel-ctx
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/cart/models/cart.js
apps/home/controllers/orderDetail.js
apps/cart/models/cart.js
View file @
f180ac2
...
...
@@ -277,7 +277,7 @@ class cartModel {
// 订单详情页拆单
if
(
orderCode
)
{
return
payModel
.
getOtherDetail
({
return
this
.
ctx
(
payModel
)
.
getOtherDetail
({
uid
:
uid
,
orderCode
:
orderCode
,
sessionKey
:
sessionKey
...
...
apps/home/controllers/orderDetail.js
View file @
f180ac2
...
...
@@ -22,7 +22,7 @@ exports.orderDetailData = (req, res, next) => {
if
(
req
.
query
.
openId
)
{
// 微信支付成功,发送支付确认接口
payModel
.
sendPayConfirm
(
orderCode
,
22
,
uid
);
req
.
ctx
(
payModel
)
.
sendPayConfirm
(
orderCode
,
22
,
uid
);
}
Promise
.
all
([
...
...
Please
register
or
login
to post a comment