From 0d653fd960093e4adadab6e4ed2064480ff29961 Mon Sep 17 00:00:00 2001 From: kubbo <390378816@qq.com> Date: Sat, 14 Jan 2023 21:46:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wxmp/src/utils/pinia.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/wxmp/src/utils/pinia.js b/wxmp/src/utils/pinia.js index 1976916..da37da5 100644 --- a/wxmp/src/utils/pinia.js +++ b/wxmp/src/utils/pinia.js @@ -24,11 +24,7 @@ export const mainStore = defineStore('main', { }) }, getToken(params) { - return http.post("/api/wxmp/token", null, { - withoutToken: true, - headers: {passport: "c799f2d92de34b97"}, - params: {...params} - }).then(res => { + return http.post("/api/wxmp/token", null, {params}).then(res => { if (res?.data) { return this.token = res.data }