chengpeng vor 5 Jahren
Ursprung
Commit
6d3ec6d4e9

+ 2 - 5
mec-education/src/main/java/com/ym/mec/education/controller/MusicGroupController.java

@@ -21,10 +21,7 @@ import org.springframework.beans.BeanUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.context.annotation.Bean;
 import org.springframework.util.CollectionUtils;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
 
 import java.util.List;
 
@@ -61,7 +58,7 @@ public class MusicGroupController {
         return response;
     }
 
-    @GetMapping(value = "/groupList")
+    @PostMapping(value = "/groupList")
     public PageResponse groupList(@RequestBody MusicGroupReq req){
         PageResponse response = new PageResponse();
         IPage page = new Page();