From 0e1bce71603c5cbb92b3fe6387c87430528d18a9 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期二, 18 七月 2023 16:14:45 +0800 Subject: [PATCH] no message --- uniapp/pages/login/setInviteCode.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/uniapp/pages/login/setInviteCode.vue b/uniapp/pages/login/setInviteCode.vue index 2f9dab5..efa0c41 100644 --- a/uniapp/pages/login/setInviteCode.vue +++ b/uniapp/pages/login/setInviteCode.vue @@ -186,8 +186,11 @@ }, setinvite() { var that = this; + let deviceInfo = uni.getDeviceInfo(); + console.log(deviceInfo.deviceId); this.$u.api.bindInvitation({ - invite_code:this.inviteCode + invite_code:this.inviteCode, + deviceid:deviceInfo.deviceId }).then(e => { if(e.code != 0) return that.$alert(e.msg) uni.showToast({ -- Gitblit v1.9.3