Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
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
new-sing
h5-base
Commits
2ff7e558
Commit
2ff7e558
authored
Sep 10, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付成功修改5
parent
bc9aebc3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
buy.vue
src/components/buy/buy.vue
+2
-3
No files found.
src/components/buy/buy.vue
View file @
2ff7e558
...
@@ -375,7 +375,7 @@ export default {
...
@@ -375,7 +375,7 @@ export default {
}
}
this
.
orderFlag
=
false
;
this
.
orderFlag
=
false
;
let
payTypeArr
=
[
'WX'
,
'ALI'
,
'卡分期'
]
/*
let payTypeArr = ['WX', 'ALI', '卡分期']
let data = { pay_type: payTypeArr[this.payIndex], return_url: window.location.href, goods_id: json.goods_id, buy_type: this.groupDetail.goods_type, group_order_id: json.group_order_id, order_coupon_id:json.order_coupon_id }
let data = { pay_type: payTypeArr[this.payIndex], return_url: window.location.href, goods_id: json.goods_id, buy_type: this.groupDetail.goods_type, group_order_id: json.group_order_id, order_coupon_id:json.order_coupon_id }
postPayBillApi(data).then(res => {
postPayBillApi(data).then(res => {
if(this.payIndex === 0) {
if(this.payIndex === 0) {
...
@@ -422,8 +422,7 @@ export default {
...
@@ -422,8 +422,7 @@ export default {
this.payUrl = res.pay_url;
this.payUrl = res.pay_url;
}
}
})
})
return
false
return false*/
payApi
(
json
)
payApi
(
json
)
.
then
(
res
=>
{
.
then
(
res
=>
{
this
.
orderNo
=
res
.
out_trade_no
;
this
.
orderNo
=
res
.
out_trade_no
;
...
...
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