package com.platform.controller; import com.platform.model.dto.NodeDTO; import com.platform.page.TableDataInfo; import com.platform.service.NodeService; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; @RestController @RequestMapping("/node") public class NodeController extends BaseController { @Resource private NodeService nodeService; @PostMapping("/mchRelationUser") public TableDataInfo mchRelationUser(@RequestBody NodeDTO nodeDTO) { startPage(nodeDTO.getPageNum(), nodeDTO.getPageSize()); return getDataTable(nodeService.mchRelationUser(nodeDTO)); } }