Browse Source

修改bug

云殇忆 1 year ago
parent
commit
543db1afa1

+ 2 - 5
ruoyi-demo/src/main/java/com/ruoyi/demo/controller/DlUserController.java

@@ -4,10 +4,7 @@ import com.ruoyi.common.core.domain.R;
 import com.ruoyi.demo.entity.bo.PlanBo;
 import com.ruoyi.demo.service.DlUserService;
 import org.springframework.beans.factory.annotation.Autowired;
-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.*;
 
 @RestController
 @RequestMapping("/dluser")
@@ -15,7 +12,7 @@ public class DlUserController {
     @Autowired
     DlUserService dlUserService;
 
-    @GetMapping("/list")
+    @PostMapping("/list")
     public R list(@RequestBody PlanBo bo){
         return R.ok(dlUserService.getList(bo));
     }