Explorar o código

[FIX] api bug

WuXinyu %!s(int64=7) %!d(string=hai) anos
pai
achega
f52de38f8f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/api/group.js

+ 1 - 1
src/api/group.js

@@ -33,7 +33,7 @@ export const getStudentGroup = (courseId = -1) => {
  */
 export const putStudentGroup = code => {
   return request(`${GROUP_MODULE}`, {
-    method: "POST",
+    method: "PUT",
     body: {
       code: code || null
     }