diff --git a/index.html b/index.html index b7484e0..c0f618f 100644 --- a/index.html +++ b/index.html @@ -312,9 +312,11 @@ }, 2000); if (res.code == 200) { - this.wxgzAuth(res.data.is_have_webview_voucher); + localStorage.setItem('key', self.key); + this.wxgzAuth(res.data.is_have_webview_voucher); + localStorage.setItem('token', res.data.token); this.openDialog('正在加载商品...'); localStorage.setItem('entryLink', window.location.href);//存储起始页链接