|
|
@@ -115,6 +115,17 @@ public class OpenAppHomeController extends BaseApiController{
|
|
|
result.setData(jtBusinessService.makeMoneyCategoryList());
|
|
|
return result;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 知识产权更多分类
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/getCategoryList" , method = RequestMethod.GET)
|
|
|
+ public Result getCategoryList(Integer module) {
|
|
|
+ Result result=new Result();
|
|
|
+ result.setData(jtBusinessService.getCategoryBoList(module));
|
|
|
+ return result;
|
|
|
+ }
|
|
|
/**
|
|
|
* 赚钱首页推荐运用
|
|
|
* @return
|
|
|
@@ -124,7 +135,20 @@ public class OpenAppHomeController extends BaseApiController{
|
|
|
Result result=new Result();
|
|
|
if (null==pageNo)pageNo=1;
|
|
|
if (null==pageSize)pageSize=3;
|
|
|
- result.setData(jtBusinessService.recommendedApplication(pageNo,pageSize));
|
|
|
+ //1 赚钱数据 2首页数据
|
|
|
+ result.setData(jtBusinessService.recommendedApplication(1,pageNo,pageSize));
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * 首页数据
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/getHomeData" , method = RequestMethod.GET)
|
|
|
+ public Result getHomeData(Integer pageNo,Integer pageSize) {
|
|
|
+ Result result=new Result();
|
|
|
+ if (null==pageNo)pageNo=1;
|
|
|
+ if (null==pageSize)pageSize=3;
|
|
|
+ result.setData(jtBusinessService.recommendedApplication(2,pageNo,pageSize));
|
|
|
return result;
|
|
|
}
|
|
|
|