Commit d8d4fee1c49c9f2257ea5eb742d5e17ed52335b4

Authored by pengye
1 parent c051ee01

商家分享免费期,领取永久券失败问题处理

... ... @@ -57,7 +57,7 @@ Page({
},
// 提交订单
submitOrder: util.throttle(function () {
if (this.data.dataStr > (this.data.detail.etime * 1)) {
if (this.data.detail.aexpiration && this.data.detail.aexpiration.valid_forever != '1' && (this.data.dataStr > (this.data.detail.etime * 1))) {
return wx.showToast({
title: '优惠券已过期,不可购买!',
duration: 2000,
... ...