Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
ca82ed50
Commit
ca82ed50
authored
Sep 11, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付
parent
aa5dbe5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
confirmOrder.js
src/pages/confirmOrder/confirmOrder.js
+2
-4
No files found.
src/pages/confirmOrder/confirmOrder.js
View file @
ca82ed50
...
@@ -232,7 +232,6 @@ wxService.page({
...
@@ -232,7 +232,6 @@ wxService.page({
couponId
,
couponId
,
trolleySku2Buy
trolleySku2Buy
}
}
console
.
log
(
'params'
,
params
,
trolleySku2Buy
)
this
.
getBill
(
params
)
// 下单
this
.
getBill
(
params
)
// 下单
},
},
// 下单
// 下单
...
@@ -247,7 +246,6 @@ wxService.page({
...
@@ -247,7 +246,6 @@ wxService.page({
delete
data
.
appId
delete
data
.
appId
wx
.
requestPayment
(
Object
.
assign
({
wx
.
requestPayment
(
Object
.
assign
({
success
(
res
)
{
success
(
res
)
{
console
.
log
(
'000000'
,
res
)
wx
.
hideLoading
()
wx
.
hideLoading
()
// 支付成功页面
// 支付成功页面
wxService
.
router
(
'/subPackage/page/pages/paymentStatus/paymentStatus'
)
wxService
.
router
(
'/subPackage/page/pages/paymentStatus/paymentStatus'
)
...
@@ -255,12 +253,12 @@ wxService.page({
...
@@ -255,12 +253,12 @@ wxService.page({
fail
(
res
)
{
fail
(
res
)
{
wx
.
hideLoading
()
wx
.
hideLoading
()
wx
.
showToast
({
wx
.
showToast
({
title
:
'
支付失败
'
,
title
:
'
已取消
'
,
icon
:
'none'
,
icon
:
'none'
,
mask
:
true
mask
:
true
})
})
}
}
},
data
))
},
data
.
wxParams
))
}
}
}
}
})
})
...
...
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