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.

18 lines
422 B

  1. import { createCURD } from '@/service/base.ts'
  2. import { Cms } from '@/types'
  3. const cmsServ = {
  4. collect: {
  5. ...createCURD<any, Cms.ICollect>('/cms/collect')
  6. },
  7. video: {
  8. ...createCURD<any, Cms.IVideo>('/cms/video')
  9. },
  10. videoCloud: {
  11. ...createCURD<any, Cms.IVideoCloud>('/cms/video_cloud')
  12. },
  13. videoMagnet: {
  14. ...createCURD<any, Cms.IVideoMagnet>('/cms/video_magnet')
  15. },
  16. }
  17. export default cmsServ