MCPcopy Create free account
hub / github.com/diyhi/bbs / search

Method search

src/main/java/cms/controller/topic/TopicController.java:62–69  ·  view source on GitHub ↗

搜索话题 @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)

Source from the content-addressed store, hash-verified

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 * 全部待审核话题

Callers

nothing calls this directly

Calls 3

fileServerAddressMethod · 0.80
getPageMethod · 0.80
getSearchMethod · 0.65

Tested by

no test coverage detected