支付宝兼容,排队预约修改,订单逻辑修改

This commit is contained in:
GaoHao
2024-09-24 15:22:34 +08:00
parent 861e97b775
commit 5f03e44701
31 changed files with 823 additions and 737 deletions

View File

@@ -86,22 +86,16 @@
},
onShow() {
this.init_fn()
this.loginwxuserInfo()
if (uni.cache.get('shopId') ) {
this.getShopInfo();
this.shopInfo = uni.cache.get('shopUserInfo')
this.getShopExtend();
} else{
}
},
methods: {
// 下面初始数据
init_fn() {
},
/**
* 获取背景图
*/
@@ -154,23 +148,6 @@
});
},
/**
* 获取店铺信息
*/
async getShopInfo() {
let res = await this.api.shopUserInfo({
"shopId": uni.cache.get('shopId'),
"userId": uni.cache.get('userInfo').id,
})
if (res.code == 0) {
this.shopInfo = res.data
}
if ( res.data.isVip == 0 ) {
this.memberOpen = true;
return;
}
},
/**
* 查看二维码
*/