package com.thhy.mobile.modules.biz.menu.controller; import com.github.pagehelper.PageInfo; import com.thhy.general.common.BasicResult; import com.thhy.general.utils.PagingUtils; import com.thhy.mobile.modules.biz.menu.entity.Menu; import com.thhy.mobile.modules.biz.menu.service.MenuService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.servlet.http.HttpServletRequest; import java.util.List; /** * @author zhang_xiao_bo * @since 2023-05-05 17:16:31 */ @RestController @RequestMapping("menu") public class MenuController { @Autowired private MenuService menuService; @RequestMapping("findList") public BasicResult findList(@RequestBody(required = false) Menu menu,HttpServletRequest req){ PagingUtils.setPageParam(req); List