12321
This commit is contained in:
parent
7c8536272c
commit
ce8a899841
@ -11,7 +11,7 @@ Page({
|
|||||||
wx.showLoading({
|
wx.showLoading({
|
||||||
title: ""
|
title: ""
|
||||||
}), this.setData({
|
}), this.setData({
|
||||||
id: t.id || 1
|
id: t.id || 0
|
||||||
}), i.pageStart(e).then(function (e) {
|
}), i.pageStart(e).then(function (e) {
|
||||||
o.getList();
|
o.getList();
|
||||||
});
|
});
|
||||||
@ -20,7 +20,7 @@ Page({
|
|||||||
var o = this;
|
var o = this;
|
||||||
wx.showLoading({
|
wx.showLoading({
|
||||||
title: ""
|
title: ""
|
||||||
}), i.request('/miniprogram/carwashcoupon/details', {
|
}), i.request('/miniprogram/coupons/details', {
|
||||||
id: this.data.id
|
id: this.data.id
|
||||||
}, !0).then(function (e) {
|
}, !0).then(function (e) {
|
||||||
if (wx.hideLoading(), 200 != e.code) return wx.showModal({
|
if (wx.hideLoading(), 200 != e.code) return wx.showModal({
|
||||||
@ -40,7 +40,7 @@ Page({
|
|||||||
received: function () {
|
received: function () {
|
||||||
if (this.isSubmit) return !1;
|
if (this.isSubmit) return !1;
|
||||||
var t = this;
|
var t = this;
|
||||||
this.isSubmit = !0, wx.showLoading(), console.log("received"), i.request('/miniprogram/carwashcoupon/receive', {
|
this.isSubmit = !0, wx.showLoading(), console.log("received"), i.request('/miniprogram/coupons/receive', {
|
||||||
id: t.data.id,
|
id: t.data.id,
|
||||||
token: t.data.info.token
|
token: t.data.info.token
|
||||||
}, !0).then(function (e) {
|
}, !0).then(function (e) {
|
||||||
|
@ -8,6 +8,20 @@
|
|||||||
"condition": {
|
"condition": {
|
||||||
"miniprogram": {
|
"miniprogram": {
|
||||||
"list": [
|
"list": [
|
||||||
|
{
|
||||||
|
"name": "pages/washCodeDetail/washCodeDetail",
|
||||||
|
"pathName": "pages/washCodeDetail/washCodeDetail",
|
||||||
|
"query": "id=6",
|
||||||
|
"launchMode": "default",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "/pages/washCodeDetail/washCodeDetail",
|
||||||
|
"pathName": "/pages/washCodeDetail/washCodeDetail",
|
||||||
|
"query": "",
|
||||||
|
"launchMode": "default",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "pages/refund/refund",
|
"name": "pages/refund/refund",
|
||||||
"pathName": "pages/refund/refund",
|
"pathName": "pages/refund/refund",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user