From bbeda9e09f82815b97456f26ca840aab81bcebdc Mon Sep 17 00:00:00 2001 From: zsk <710162063@qq.com> Date: Tue, 31 Dec 2024 09:23:53 +0800 Subject: [PATCH] 3 --- src/api/carouselConfig.js | 8 ++++---- src/router/index.js | 2 +- src/utils/mock.js | 2 +- src/views/components/image/swiperPicture.vue | 2 +- src/views/components/wechat/job.vue | 2 +- src/views/message/index.vue | 12 ++++++++++-- 6 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/api/carouselConfig.js b/src/api/carouselConfig.js index 08b4930..de257cf 100644 --- a/src/api/carouselConfig.js +++ b/src/api/carouselConfig.js @@ -1,6 +1,6 @@ import request from "../utils/request"; -// 获取轮播列表 +// 获取中奖列表 export function getCarouselListApi(page, limit = 10) { return request({ url: `/admin/banner/${page}/${limit}`, @@ -8,7 +8,7 @@ export function getCarouselListApi(page, limit = 10) { }); } -// 保存轮播 +// 保存中奖 export function saveCarouselApi(data) { return request({ url: `/admin/banner/save`, @@ -17,7 +17,7 @@ export function saveCarouselApi(data) { }); } -// 删除轮播 +// 删除中奖 export function deleteCarouselApi(id) { return request({ url: `/admin/banner/remove/${id}`, @@ -25,7 +25,7 @@ export function deleteCarouselApi(id) { }); } -// 修改轮播 +// 修改中奖 export function updateCarouselApi(data) { return request({ url: `/admin/banner/update`, diff --git a/src/router/index.js b/src/router/index.js index f7c1b7e..e490063 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -52,7 +52,7 @@ const router = createRouter({ path: "/merchantManagement/message", name: "message", meta: { - title: '轮播管理', + title: '中奖管理', }, component: () => import("../views/message/index.vue") }, diff --git a/src/utils/mock.js b/src/utils/mock.js index c1f8285..b03839f 100644 --- a/src/utils/mock.js +++ b/src/utils/mock.js @@ -63,7 +63,7 @@ export let mockMenuList = { "createTime": "", "updateTime": "", "deleted": 0, - "title": "轮播管理", + "title": "中奖管理", "menuName": "message", "parentName": "", "path": "message", diff --git a/src/views/components/image/swiperPicture.vue b/src/views/components/image/swiperPicture.vue index 0a26239..39dd4d4 100644 --- a/src/views/components/image/swiperPicture.vue +++ b/src/views/components/image/swiperPicture.vue @@ -48,7 +48,7 @@