Browse Source

get parameters too long fixed

hare8999@163.com 2 năm trước cách đây
mục cha
commit
08b8320966
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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
   })
 }