Commit 0fc933cf by 侯体倬

新店调试功能

parent a7ac706f
...@@ -500,7 +500,8 @@ export default { ...@@ -500,7 +500,8 @@ export default {
} }
// 新人有礼弹窗 // 新人有礼弹窗
this.newUserFun(); this.newUserFun();
// 新店调试
this.debugShopFun();
//清除商品列表组件懒加载缓存 //清除商品列表组件懒加载缓存
// 需清除的缓存keyList // 需清除的缓存keyList
...@@ -1038,6 +1039,19 @@ export default { ...@@ -1038,6 +1039,19 @@ export default {
} }
}) })
}, },
debugShopFun() {
shop.get_shop_configuration().then(res=>{
if (res.data.code == 200) {
if (res.data.data.newStoreCommissioningStatus == 1) {
wx.showModal({
title: '重要提醒!',
showCancel: false,
content: `当前店铺处于筹备调试中,顾客们请勿下单。给您带来的不便,敬请谅解~`
})
}
}
})
},
getUserreceiveGift() { getUserreceiveGift() {
this.timer = setInterval(() => { this.timer = setInterval(() => {
// 查询我领取的新客礼品 // 查询我领取的新客礼品
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment