修改登录
parent
685cd68177
commit
eba57daf4b
|
@ -141,7 +141,10 @@
|
||||||
updateUserInfo(code,status) {
|
updateUserInfo(code,status) {
|
||||||
let ya = this;
|
let ya = this;
|
||||||
if(status=='enter'){
|
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){
|
if(res.code == 0){
|
||||||
console.log(res,'进入登录信息');
|
console.log(res,'进入登录信息');
|
||||||
if(res.data.is_active==1){
|
if(res.data.is_active==1){
|
||||||
|
|
Loading…
Reference in New Issue