Explorar el Código

get parameters too long fixed

hare8999@163.com hace 2 años
padre
commit
08b8320966
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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
   })
 }