|
@@ -370,8 +370,8 @@ public class ApiIndexController extends ApiAbstractController {
|
|
|
AjaxResult result = new AjaxResult();
|
|
|
AboutUs aboutUs = aboutUsService.selectAboutUsByAboutUsId(1L);
|
|
|
result.put("aboutUs", aboutUs);
|
|
|
- List<Content> hot_list = contentService.home("2");
|
|
|
- List<Content> zn_list = contentService.home("3");
|
|
|
+ List<Content> hot_list = contentService.home("2",3);
|
|
|
+ List<Content> zn_list = contentService.home("3",1);
|
|
|
result.put("hot_list", hot_list);
|
|
|
result.put("zn_list", zn_list);
|
|
|
return AjaxResult.success(result);
|