diff --git a/src/router/index.ts b/src/router/index.ts index dee64d6..fa6bde4 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -31,17 +31,19 @@ const routeTemplate = [ component: () => import("@/views/templates/cmsList/index.vue"), }, { - // 商品详情模版 + // 商品详情模版-直充 path: "/cmsDetail", name: "cmsDetail", component: () => import("@/views/templates/cmsDetail/index.vue"), }, { + // 商品详情模版-红包 path: "/cmsCash", name: "cmsCash", component: () => import("@/views/templates/cmsCash/index.vue"), }, { + // 商品详情模版-立减金 path: "/cmsVoucher", name: "cmsVoucher", component: () => import("@/views/templates/cmsVoucher/index.vue"), @@ -72,7 +74,8 @@ router.beforeEach(async (to, from, next) => { try { const key = to.query.key || "rPBVzOCs0FN4P7jNMqHo5IVfb0oaAyigbfNBmCKnavs="; - const res = await LOGIN({ key: key }); // 请求 token + // const res = await LOGIN({ key: key }); // 请求 token + const res = { data: { Token: "" }, code: 200, message: "" }; // 请求 token if (res && res.code === 200) { res.data.Token = "admingL_q2QjDlD_MdeU11q5ILoeLFEqhbGBtcEptfs-OHzI53vbrgX9GFCh-SB4fSJBGwgSTl.uDPUoyiPjJ2O6e7zUBzExUUXhsdnPxtyLwncYc8.vy9ikZRp-wUba2POZJlTERJxnLbK6DzpQFQTxuYfcNM_yl3Avo7hgCjkS-ot5QgzNiO5TE"; diff --git a/src/views/pages/comProduct/index.vue b/src/views/pages/comProduct/index.vue index e008819..2269955 100644 --- a/src/views/pages/comProduct/index.vue +++ b/src/views/pages/comProduct/index.vue @@ -189,9 +189,6 @@ export default {