Selaa lähdekoodia

get parameters too long fixed

hare8999@163.com 2 vuotta sitten
vanhempi
commit
08b8320966
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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
   })
 }