From 47b88a1eecc6ca44ac5c1cefd3c6303f0ca3c609 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Fri, 6 Jun 2025 09:43:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 7 ------- static/js/request.js | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 134de10..6be9d87 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -184,13 +184,6 @@ this.shiguang = res.data[0] } }) - - this.Post({ - mobile: '18639595995', - captcha: '123456' - }, '/api/user/mobilelogin').then(res => { - this.$store.commit('changeUserInfo', res.data.userinfo); - }) }, // 2是各种详情页,3是列表专题页面,4是小程序 gotoUrlNew(item) { diff --git a/static/js/request.js b/static/js/request.js index d03b51f..7107bff 100644 --- a/static/js/request.js +++ b/static/js/request.js @@ -43,7 +43,7 @@ Vue.prototype.NEWAPIURL = '/api'; // #endif Vue.prototype.Post = (params = {}, apiurl) => { - const token = getToken() || '948acca7-f801-4d65-beea-79dde49b1fa3'; + const token = getToken(); if (token) { params.token = token; }