Commit 6fcefc32 by rongkailun

【修改】代码被覆盖

parent 71de27dc
......@@ -598,7 +598,32 @@ public class NewsController extends AbstractController {
PageUtils pageUtils = new PageUtils(page);
return R.ok().put("data", pageUtils);
}
/***********************************资讯中心重构接口******************************************************/
/**
* 综合报道
*/
@Login
@RequestMapping("/api/zhbdList")
// @RequiresPermissions("manage:product:findPage")
public R zhbdList(@RequestBody NewsParams newsParams) {
Page<NewsEntity> page = this.newsService.zhbdList(newsParams,
new Page(newsParams.getPage(), newsParams.getLimit()));
PageUtils pageUtils = new PageUtils(page);
return R.ok().put("data", pageUtils);
}
/**
* 标准科研动态
*/
@Login
@RequestMapping("/api/bzkydtList")
// @RequiresPermissions("manage:product:findPage")
public R bzkydtList(@RequestBody NewsParams newsParams) {
Page<NewsEntity> page = this.newsService.bzkydtList(newsParams,
new Page(newsParams.getPage(), newsParams.getLimit()));
PageUtils pageUtils = new PageUtils(page);
return R.ok().put("data", pageUtils);
}
/**
* 深度专题
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment