diff --git a/api/cms/cmsWebsite/index.ts b/api/cms/cmsWebsite/index.ts index 4d74efa..e1ed257 100644 --- a/api/cms/cmsWebsite/index.ts +++ b/api/cms/cmsWebsite/index.ts @@ -68,7 +68,7 @@ export async function updateCmsWebsite(data: CmsWebsite) { */ export async function updateCmsWebsiteAll(data: CmsWebsite) { const res = await request.put>( - 'http://127.0.0.1:9002/api/cms/cms-website/updateAll', + '/cms/cms-website/updateAll', data ); if (res.code === 0) { diff --git a/api/layout/index.ts b/api/layout/index.ts index dc2f5b6..b704da5 100644 --- a/api/layout/index.ts +++ b/api/layout/index.ts @@ -46,7 +46,6 @@ export async function updateUser(data: User){ return res.message ?? '修改成功'; } return Promise.reject(new Error(res.message)); - } /** diff --git a/components/AppFooter/AppFooter.vue b/components/AppFooter/AppFooter.vue index 2880175..8611199 100644 --- a/components/AppFooter/AppFooter.vue +++ b/components/AppFooter/AppFooter.vue @@ -1,7 +1,5 @@