搜索话题 @param pageForm 分页 @param dataSource 数据源 @param keyword 关键词 @param tagId 标签Id @param tagName 标签名称 @param account 账号 @param start_postTime 起始发贴时间 @param end_postTime 结束发贴时间 @param request 请求信息 @return
(PageForm pageForm, Integer dataSource,String keyword,String tagId,String tagName,String account,
String start_postTime,String end_postTime, HttpServletRequest request)
| 60 | * @return |
| 61 | */ |
| 62 | @RequestMapping("/control/topic/search") |
| 63 | public RequestResult search(PageForm pageForm, Integer dataSource,String keyword,String tagId,String tagName,String account, |
| 64 | String start_postTime,String end_postTime, HttpServletRequest request){ |
| 65 | String fileServerAddress = fileComponent.fileServerAddress(request); |
| 66 | PageView<Topic> pageView = topicService.getSearch(pageForm.getPage(), dataSource, keyword, tagId, tagName, account, |
| 67 | start_postTime, end_postTime,fileServerAddress); |
| 68 | return new RequestResult(ResultCode.SUCCESS, pageView); |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * 全部待审核话题 |
nothing calls this directly
no test coverage detected