Commit b6009ded by tang

feat: 添加定制服务接口

parent 29a12846
import { import {
POST POST, POSTFORM, UPLOAD
} from "../fetch.js" } from "../fetch.js"
...@@ -32,6 +32,17 @@ const homeSmallImages = (params = {}) => { ...@@ -32,6 +32,17 @@ const homeSmallImages = (params = {}) => {
return POST(`${Prefix}/office/indexCarouselManage/api/smallImages`, 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 { export default {
homeBigImages, homeBigImages,
...@@ -39,4 +50,6 @@ export default { ...@@ -39,4 +50,6 @@ export default {
homeImportantNewList, homeImportantNewList,
homeGet4PartyTopNews, homeGet4PartyTopNews,
homeSmallImages, 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