调试frontend

This commit is contained in:
hero920103 committed 2026-07-21 14:04:49 +08:00
1 parent dd1e55aea3
commit b45152599e
18 files changed
+1840 -1382

No files matched your search

+3 -3
View File
@@ -2,18 +2,18 @@ import service from '@/utils/request'
// 获取前端导航
export const getHeadMenu = async () => {
const response = await service.get('index/headmenu')
const response = await service.get('/api/index/headmenu')
return response.data
}
// 根据路径获取单页内容
export const getOnePageByPath = async (path: string) => {
const response = await service.get(`index/onepage/${encodeURIComponent(path)}`)
const response = await service.get(`/api/index/onepage/${encodeURIComponent(path)}`)
return response.data
}
// 获取前端底部数据
export const getFooterData = async () => {
const response = await service.get('index/footerdata')
const response = await service.get('/api/index/footerdata')
return response.data
}