补充回@RequestBody
This commit is contained in:
parent
cf6fa31464
commit
f6d580de7c
|
|
@ -45,7 +45,7 @@ public class GoodsController extends BaseController {
|
||||||
// @RequiresPermissions("goods:goods:list")
|
// @RequiresPermissions("goods:goods:list")
|
||||||
@PostMapping("/list")
|
@PostMapping("/list")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public TableDataInfo list(Goods goods) {
|
public TableDataInfo list(@RequestBody Goods goods) {
|
||||||
startPage();
|
startPage();
|
||||||
List<Goods> list = goodsService.selectGoodsList(goods);
|
List<Goods> list = goodsService.selectGoodsList(goods);
|
||||||
list.forEach(one -> {
|
list.forEach(one -> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue