修改登录

master
xcw 2023-02-22 11:23:24 +08:00
parent 685cd68177
commit eba57daf4b
1 changed files with 4 additions and 1 deletions

View File

@ -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){