|
@@ -84,8 +84,8 @@ public class ArticleController {
|
|
|
return SendUtil.send(true, null, articleService.getAllOfficialAccount(official));
|
|
|
}
|
|
|
|
|
|
- @GetMapping("getOffocoalAccountByPaging")
|
|
|
- public Map<String, Object> getOffocoalAccountByPaging(String name, Integer page, Integer limit) {
|
|
|
+ @GetMapping("getOfficialAccountByPaging")
|
|
|
+ public Map<String, Object> getOfficialAccountByPaging(String name, Integer page, Integer limit) {
|
|
|
if (Blank.isEmpty(limit, page)) {
|
|
|
return SendUtil.send(false, ConstStr.REQUEST_WRONGPARAMS);
|
|
|
}
|
|
@@ -93,13 +93,13 @@ public class ArticleController {
|
|
|
map.put("name", name);
|
|
|
map.put("page", (page - 1) * limit);
|
|
|
map.put("limit", limit);
|
|
|
- Map<String, Object> picture = articleService.getOffocoalAccountByPaging(map);
|
|
|
+ Map<String, Object> picture = articleService.getOfficialAccountByPaging(map);
|
|
|
// for (int i=0;i<picture.size();i++){
|
|
|
// System.out.println(i);
|
|
|
// }
|
|
|
// System.out.println();
|
|
|
// JSONObject jsonObject=JSONObject.parseObject(picture.toString());
|
|
|
- return articleService.getOffocoalAccountByPaging(map);
|
|
|
+ return articleService.getOfficialAccountByPaging(map);
|
|
|
}
|
|
|
|
|
|
/**
|