|
@@ -90,8 +90,8 @@ public class ArticleController {
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("getRegionAllOfficialAccount")
|
|
|
- public Map<String, Object> getRegionAllOfficialAccount(String official) {
|
|
|
- return SendUtil.send(true, null, articleService.getRegionAllOfficialAccount(official));
|
|
|
+ public Map<String, Object> getRegionAllOfficialAccount(String official, Integer type) {
|
|
|
+ return SendUtil.send(true, null, articleService.getRegionAllOfficialAccount(official, type));
|
|
|
}
|
|
|
|
|
|
@GetMapping("getOfficialAccountByPaging")
|
|
@@ -155,16 +155,17 @@ public class ArticleController {
|
|
|
|
|
|
/**
|
|
|
* 分页查询华龙网接口数据
|
|
|
- * @param page 当前页码
|
|
|
- * @param limit 每页展示条数
|
|
|
- * @param chnlid 栏目id
|
|
|
- * @param docTitle 栏目标题
|
|
|
- * @param docrelTime 发布时间
|
|
|
+ *
|
|
|
+ * @param page 当前页码
|
|
|
+ * @param limit 每页展示条数
|
|
|
+ * @param chnlid 栏目id
|
|
|
+ * @param docTitle 栏目标题
|
|
|
+ * @param docrelTime 发布时间
|
|
|
* @param channelName
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("/getHlwAllDataPage")
|
|
|
- public Map<String,Object> getHlwAllData(int page, int limit,String chnlid,String docTitle,String docrelTime ,String channelName){
|
|
|
+ public Map<String, Object> getHlwAllData(int page, int limit, String chnlid, String docTitle, String docrelTime, String channelName) {
|
|
|
try {
|
|
|
if (Blank.isNotEmpty(page) && Blank.isNotEmpty(limit) && page > 0 && limit > 0) {
|
|
|
return articleService.getHlwAllDataPage(page, limit, chnlid, docTitle, docrelTime, channelName);
|