Commit b6009ded by tang

feat: 添加定制服务接口

parent 29a12846
import {
POST
POST, POSTFORM, UPLOAD
} from "../fetch.js"
const Prefix = process.env.NODE_ENV === 'development' ? '/gs1' : '';
// 首页大轮播图
// 首页大轮播图
const homeBigImages = (params = {}) => {
return POST(`${Prefix}/office/indexCarouselManage/api/bigImages`, params)
}
// 要闻左侧图片资讯
// 要闻左侧图片资讯
const homePictureImageList = (params = {}) => {
return POST(`${Prefix}/office/picture/api/pictureImageList`, params)
}
......@@ -32,6 +32,17 @@ const homeSmallImages = (params = {}) => {
return POST(`${Prefix}/office/indexCarouselManage/api/smallImages`, params)
}
// 获取定制服务
const customService = (params = {}) => {
return POST(`${Prefix}/office/userfunctionbinding/api/find`, params)
}
// 更新定制服务
const updateCustomService = (params = {}) => {
return POSTFORM(`${Prefix}/office/userfunctionbinding/api/update`, params)
}
export default {
homeBigImages,
......@@ -39,4 +50,6 @@ export default {
homeImportantNewList,
homeGet4PartyTopNews,
homeSmallImages,
customService,
updateCustomService,
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment