This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
weapp
/
C
Watch
8
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
66
Wiki
Activity
Browse Source
update
tags/2.2.4
Stormeye.Wu
6 years ago
parent
070c941713
commit
5421a94882
2 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
common/common.js
+1
-0
pages/coupons/details/index.js
+ 4
- 1
common/common.js
View File
@@ -163,7 +163,10 @@ const func = {
"token": app.globalData.token
},
method: "Post",
data: JSON.stringify({"couponId": couponId}),
data: {
couponId: couponId,
token: app.globalData.token
},
success: function (res) {
resolve(res)
},
+ 1
- 0
pages/coupons/details/index.js
View File
@@ -20,6 +20,7 @@ Page({
wx.showLoading({
title: '加载中...',
})
console.log(this.data.couponId)
Common.orderSave(''+this.data.couponId)
.then(res => {
wx.hideLoading();
Write
Preview
Loading…
Cancel
Save