diff --git a/pages/login/login.vue b/pages/login/login.vue index 5f06120..b7db3b5 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -141,7 +141,10 @@ updateUserInfo(code,status) { let ya = this; if(status=='enter'){ - this.$requst.post('/api/user/login',{code:code}).then(res => { + this.$requst.post('/api/user/login',{ + code:code, + invite_code:uni.getStorageSync('invite_code')?uni.getStorageSync('invite_code'):'' + }).then(res => { if(res.code == 0){ console.log(res,'进入登录信息'); if(res.data.is_active==1){