chengpeng 5 سال پیش
والد
کامیت
6d3ec6d4e9
1فایلهای تغییر یافته به همراه2 افزوده شده و 5 حذف شده
  1. 2 5
      mec-education/src/main/java/com/ym/mec/education/controller/MusicGroupController.java

+ 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.beans.factory.annotation.Autowired;
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Bean;
 import org.springframework.util.CollectionUtils;
 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;
 import java.util.List;
 
 
@@ -61,7 +58,7 @@ public class MusicGroupController {
         return response;
         return response;
     }
     }
 
 
-    @GetMapping(value = "/groupList")
+    @PostMapping(value = "/groupList")
     public PageResponse groupList(@RequestBody MusicGroupReq req){
     public PageResponse groupList(@RequestBody MusicGroupReq req){
         PageResponse response = new PageResponse();
         PageResponse response = new PageResponse();
         IPage page = new Page();
         IPage page = new Page();