| | |
| | | @Resource
|
| | | private PushRecordService pushRecordService;
|
| | |
|
| | | @RequestMapping(value = "getPushRecordList", method = RequestMethod.POST)
|
| | | public void getAll(String title,int type,int page,PrintWriter out){
|
| | | List<PushRecord> list = pushRecordService.getPushRecordList(title,type,page);
|
| | | int count = pushRecordService.getCount(title,type,page);
|
| | | PageEntity pe = new PageEntity(page, Constant.PAGE_SIZE, count);
|
| | | JSONObject data = new JSONObject();
|
| | | data.put("pe", pe);
|
| | | data.put("list", list);
|
| | | out.print(JsonUtil.loadTrueResult(data));
|
| | | }
|
| | | |
| | |
|
| | | /**
|
| | | * 推荐记录 -(新后台)
|