master
liuyx 2 years ago
parent 5997a364d3
commit 666be04c10

@ -0,0 +1,7 @@
import request from '../utils/request.js'
export const getAboutContent = () => {
return request({
url: '/about'
})
}

@ -0,0 +1,7 @@
import request from '../utils/request'
export const getCategoryList = () => {
return request({
url: '/categories'
})
}

@ -0,0 +1,7 @@
import request from '@/utils/request.js'
export const getPageByName = (pageName) => {
return request({
url: `/pages/${pageName}`
})
}

@ -0,0 +1,7 @@
import request from '../utils/request'
export const getTagList = () => {
return request({
url: '/tags'
})
}
Loading…
Cancel
Save