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 }