cloudPractice.api.ts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. import {
  2. httpAxios_gym,
  3. httpAxios_gyt,
  4. httpAxios_klx
  5. // httpAxios_gyt
  6. } from "@/api/ApiInstance"
  7. /** 管乐迷 */
  8. export const queryTree_gym = () => {
  9. return httpAxios_gym.axioseRquest({
  10. method: "get",
  11. url: "/api-teacher/sysMusicScoreCategories/queryTree"
  12. })
  13. }
  14. export const querySubjectIds_gym = (data?: any) => {
  15. return httpAxios_gym.axioseRquest({
  16. method: "get",
  17. url: "/api-teacher/sysMusicScoreAccompaniment/querySubjectIds",
  18. params: data
  19. })
  20. }
  21. export const queryPage2_gym = (data: any) => {
  22. return httpAxios_gym.axioseRquest({
  23. method: "get",
  24. url: "/api-teacher/sysMusicScore/queryPageSimple",
  25. params: data
  26. })
  27. }
  28. export const cbsDetail_gym = (id: number, data?: any) => {
  29. return httpAxios_gym.axioseRquest({
  30. method: "get",
  31. url: `/api-teacher/musicSheet/cbsDetail/${id}`,
  32. params: data
  33. })
  34. }
  35. /**
  36. * 管乐团
  37. */
  38. export const queryTree_gyt = (data: any) => {
  39. return httpAxios_gyt.axioseRquest({
  40. method: "post",
  41. url: "/api-teacher/musicSheetCategories/page",
  42. data
  43. })
  44. }
  45. export const querySubjectIds_gyt = (data?: any) => {
  46. return httpAxios_gyt.axioseRquest({
  47. method: "get",
  48. url: "/api-teacher/subject/musicList",
  49. params: data
  50. })
  51. }
  52. export const queryPage2_gyt = (data: any) => {
  53. return httpAxios_gyt.axioseRquest({
  54. method: "post",
  55. url: "/api-teacher/musicSheet/page",
  56. data
  57. })
  58. }
  59. /**
  60. * 酷乐秀
  61. */
  62. export const queryTree_klx = (data?: any) => {
  63. return httpAxios_klx.axioseRquest({
  64. method: "get",
  65. url: "/api-teacher/tenantGroupAlbum/buyAlbumInfo",
  66. params: data
  67. })
  68. }
  69. export const querySubjectIds_klx = (data?: any) => {
  70. return httpAxios_klx.axioseRquest({
  71. method: "get",
  72. url: "/api-teacher/open/subject/queryPage",
  73. params: data
  74. })
  75. }
  76. export const queryPage2_klx = (data: any) => {
  77. return httpAxios_klx.axioseRquest({
  78. method: "post",
  79. url: "/api-teacher/tenantAlbumMusic/page",
  80. data
  81. })
  82. }
  83. export const selectCondition_klx = (data: any) => {
  84. return httpAxios_klx.axioseRquest({
  85. method: "post",
  86. url: "/api-teacher/tenantGroupAlbum/selectCondition",
  87. data
  88. })
  89. }