Compare commits
No commits in common. "c75009da11ad39796e81a5ecde2adecefa44ef9d" and "9d3b2c409a0c496956876eea40ada63a3c166a83" have entirely different histories.
c75009da11
...
9d3b2c409a
@ -377,13 +377,10 @@
|
|||||||
have_shop = true;
|
have_shop = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(have_auth){
|
if(have_auth && res.data.auth_status==1){
|
||||||
for (let i = 1; i < this.list2.length; i++) {
|
for (let i = 1; i < this.list2.length; i++) {
|
||||||
this.list2[i].auth_status = 1;
|
this.list2[i].auth_status = 1;
|
||||||
}
|
}
|
||||||
if(res.data.auth_status == -1){
|
|
||||||
this.list2[0].auth_status = 0;
|
|
||||||
}
|
|
||||||
this.list2[this.list2.length - 1].auth_status = 0;
|
this.list2[this.list2.length - 1].auth_status = 0;
|
||||||
this.list2[this.list2.length - 2].auth_status = 0;
|
this.list2[this.list2.length - 2].auth_status = 0;
|
||||||
}
|
}
|
||||||
@ -522,7 +519,6 @@
|
|||||||
_this.getOpenidByCode(res.code)
|
_this.getOpenidByCode(res.code)
|
||||||
_this.code = res.code
|
_this.code = res.code
|
||||||
uni.setStorageSync('code', res.code)
|
uni.setStorageSync('code', res.code)
|
||||||
_this.getStatus()
|
|
||||||
},
|
},
|
||||||
fail: function(error) {
|
fail: function(error) {
|
||||||
console.log('authError', error);
|
console.log('authError', error);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user