Stormeye.Wu před 6 roky
rodič
revize
5421a94882
2 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. +4
    -1
      common/common.js
  2. +1
    -0
      pages/coupons/details/index.js

+ 4
- 1
common/common.js Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -20,6 +20,7 @@ Page({
wx.showLoading({
title: '加载中...',
})
console.log(this.data.couponId)
Common.orderSave(''+this.data.couponId)
.then(res => {
wx.hideLoading();


Načítá se…
Zrušit
Uložit