public String index(AffiliateFilter filter, Model model, HttpServletRequest request){
addJsDateFormatAttribute(model, request);
model.addAttribute("filter", filter);
PageParam pageParam = createPageParam(request);
List<Affiliate> affiliateList = affiliateAdminModel.getList(filter, pageParam);
model.addAttribute("affiliates", affiliateList);
int total = affiliateAdminModel.getTotal(filter);
Pagination pagination = new Pagination();
pagination.setTotal(total).setPageParam(pageParam)