@RequestMapping(value = "/findShangPinPage")
public ResultVo findShangPinPage(String productName,Integer page,Integer limit){
PageInfo selectProduct=ps.selectProduct(productName, page, limit);
ResultVo rv=new ResultVo();
rv.setCount(selectProduct.getTotal());
rv.setData(selectProduct.getList());
rv.setCode(productName);
return rv;
}
resultvo 是一个存各种返回值的一个工具类
PageInfo<Product> 要拿实体类里某个属性怎么拿出来