下单页面增加生日有礼弹窗,关注公众号弹窗,订单结算增加满减活动,修改霸王餐,增加结算成功私域引流和公众号弹窗
This commit is contained in:
@@ -104,6 +104,7 @@ export const productStore = defineStore('product', {
|
||||
},
|
||||
// 扫码请求
|
||||
scanCodeactions(q) {
|
||||
console.log('扫码内容', q)
|
||||
return new Promise(async (resolve, reject) => {
|
||||
if (q) {
|
||||
console.log(q)
|
||||
@@ -121,7 +122,7 @@ export const productStore = defineStore('product', {
|
||||
// 储存卓玛
|
||||
uni.cache.set('tableCode', tableCode)
|
||||
if (tableCode) {
|
||||
console.log(uni.cache.get('tableCode'));
|
||||
console.log('台桌码', uni.cache.get('tableCode'));
|
||||
let data = await this.actionsproductqueryShop(tableCode)
|
||||
|
||||
console.log('data', data)
|
||||
@@ -194,6 +195,7 @@ export const productStore = defineStore('product', {
|
||||
|
||||
// /通过桌码获取当前店铺信息
|
||||
actionsproductqueryShop(tableCode) {
|
||||
console.log('台桌码',tableCode);
|
||||
return new Promise(async (resolve, reject) => {
|
||||
// try {
|
||||
try {
|
||||
@@ -213,7 +215,7 @@ export const productStore = defineStore('product', {
|
||||
|
||||
resolve(res)
|
||||
} else {
|
||||
console.log(res)
|
||||
console.error('通过桌码获取当前店铺信息失败' ,res)
|
||||
reject()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user