|
@@ -91,7 +91,7 @@ public class ContentApiController {
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("/zsrz/list")
|
|
|
- public List<TCmsContent> queryList(@RequestParam("siteId") String siteId,
|
|
|
+ public String queryList(@RequestParam("siteId") String siteId,
|
|
|
@RequestParam("username") String username,
|
|
|
@RequestParam(value = "telephone") String telephone,
|
|
|
@RequestParam(value = "categoryId") String categoryId){
|
|
@@ -101,7 +101,8 @@ public class ContentApiController {
|
|
|
map.put("telephone", telephone);
|
|
|
map.put("siteId", siteId);
|
|
|
map.put("categoryId", categoryId);
|
|
|
- return contentService.certificateQueryList(map);
|
|
|
+ List<TCmsContent> tCmsContents = contentService.certificateQueryList(map);
|
|
|
+ return JsonUtil.toSuccessResultJSON("请求成功", tCmsContents);
|
|
|
}
|
|
|
|
|
|
}
|