Merge branch 'new' of https://gitea.lihaink.cn/mkm/nk-shop2.0 into new
This commit is contained in:
commit
0470d887d0
@ -99,7 +99,17 @@
|
|||||||
// 获取二维码
|
// 获取二维码
|
||||||
getQrcode() {
|
getQrcode() {
|
||||||
qrcode().then(res => {
|
qrcode().then(res => {
|
||||||
|
if (res.status == 200) {
|
||||||
this.qrcodeUrl = res.data.url;
|
this.qrcodeUrl = res.data.url;
|
||||||
|
} else {
|
||||||
|
uni.showModal({
|
||||||
|
content: '暂未开通邀请码,需开通邀请码请联系管理员',
|
||||||
|
showCancel: false,
|
||||||
|
success: (res) => {
|
||||||
|
uni.navigateBack();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
content: '暂未开通邀请码,需开通邀请码请联系管理员',
|
content: '暂未开通邀请码,需开通邀请码请联系管理员',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user