hare8999@163.com 2 лет назад
Родитель
Сommit
08b8320966
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      src/api/webApi/elective/generation.js

+ 3 - 3
src/api/webApi/elective/generation.js

@@ -24,11 +24,11 @@ export function getElectiveGenerationDetails(params) {
   })
 }
 
-export function getGenerationOptionalMajorsBatch(params) {
+export function getGenerationOptionalMajorsBatch(data) {
   return request({
     url: '/front/elective/generation/getGenerationOptionalMajorsBatch',
-    method: 'get',
-    params
+    method: 'post',
+    data
   })
 }