|
@@ -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));
|
|
|
}
|