This commit is contained in:
XiaoMo 2025-04-15 19:07:31 +08:00
parent 7c8536272c
commit ce8a899841
2 changed files with 17 additions and 3 deletions

View File

@ -11,7 +11,7 @@ Page({
wx.showLoading({
title: ""
}), this.setData({
id: t.id || 1
id: t.id || 0
}), i.pageStart(e).then(function (e) {
o.getList();
});
@ -20,7 +20,7 @@ Page({
var o = this;
wx.showLoading({
title: ""
}), i.request('/miniprogram/carwashcoupon/details', {
}), i.request('/miniprogram/coupons/details', {
id: this.data.id
}, !0).then(function (e) {
if (wx.hideLoading(), 200 != e.code) return wx.showModal({
@ -40,7 +40,7 @@ Page({
received: function () {
if (this.isSubmit) return !1;
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,
token: t.data.info.token
}, !0).then(function (e) {

View File

@ -8,6 +8,20 @@
"condition": {
"miniprogram": {
"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",
"pathName": "pages/refund/refund",