前端請求頭
注意變量之間是用逗號隔開的
$http.post("../brand/search.do?page="+$scope.paginationConf.currentPage+"&size="+$scope.paginationConf.itemsPerPage,$scope.searchEntity)
後端分頁信息直接接收,實體信息用requsetBody註解接收
public PageResult search(int page,int size,@RequestBody TbBrand tbBrand){
return brandService.findPage(page,size,tbBrand);
}