streamingBusiness.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import request from '@/utils/request' //引入axios请求及拦截器
  2. export default {
  3. //新增课程流适用业务关系
  4. appCourseStreamingBusiness(data) {
  5. return request({
  6. url: '/course/streaming/business',
  7. method: 'post',
  8. data
  9. })
  10. },
  11. //删除课程流适用业务关系
  12. delCourseStreamingBusiness(data) {
  13. return request({
  14. url: '/course/streaming/business/del/',
  15. method: 'post',
  16. data
  17. })
  18. },
  19. //修改课程流适用业务关系
  20. editCourseBusinessCourseStreamingBusiness(data) {
  21. return request({
  22. url: '/course/streaming/business/edit',
  23. method: 'post',
  24. data
  25. })
  26. },
  27. //查询课程流适用业务关系列表
  28. inquireCourseStreamingBusiness(data) {
  29. return request({
  30. url: '/course/streaming/business/list',
  31. method: 'get',
  32. params: data
  33. })
  34. },
  35. //获取课程流适用业务关系详细信息
  36. obtainCourseStreamingBusiness(data) {
  37. return request({
  38. url: `/course/streaming/business/` + data,
  39. method: 'get',
  40. })
  41. },
  42. }