You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

19 lines
422 B

import { createCURD } from '@/service/base.ts'
import { Cms } from '@/types'
const cmsServ = {
collect: {
...createCURD<any, Cms.ICollect>('/cms/collect')
},
video: {
...createCURD<any, Cms.IVideo>('/cms/video')
},
videoCloud: {
...createCURD<any, Cms.IVideoCloud>('/cms/video_cloud')
},
videoMagnet: {
...createCURD<any, Cms.IVideoMagnet>('/cms/video_magnet')
},
}
export default cmsServ