浏览代码

轮播图修改

anderx 7 年之前
父节点
当前提交
3c5d1b879c

+ 2 - 2
src/main/java/com/goafanti/app/controller/OpenAppHomeController.java

@@ -135,7 +135,7 @@ public class OpenAppHomeController extends BaseApiController{
 		map.put("recommended", jtBusinessService.recommendedApplication(null,pageNo,pageSize));
 		map.put("tag", jtTagService.selectListJtTag(null, 1, 99));
 		
-		map.put("homeImg", bannersService.findAdminBannersList( apiUrl,1, 1, 1));
+		map.put("homeImg", bannersService.findBannersList( apiUrl,1, 1, 1));
 		result.setData(map);
 		return result;
 	}
@@ -151,7 +151,7 @@ public class OpenAppHomeController extends BaseApiController{
 		Map<String, Object> map=new HashMap<>();
 		//1 赚钱数据    2首页数据
 		map.put("recommended", jtBusinessService.recommendedApplication(null,pageNo,pageSize));
-		map.put("homeImg", bannersService.findAdminBannersList( apiUrl,1, 3, 1));
+		map.put("homeImg", bannersService.findBannersList( apiUrl,1, 3, 1));
 		result.setData(map);
 		return result;
 	}

+ 2 - 2
src/main/java/com/goafanti/banners/controller/UserBannersApiController.java

@@ -25,10 +25,10 @@ public class UserBannersApiController extends BaseApiController {
 	 * @param request
 	 * @return
 	 */
-	@RequestMapping(value="/adminList" ,method=RequestMethod.GET)
+	@RequestMapping(value="/List" ,method=RequestMethod.GET)
 	public Result appList(String apiUrl,Integer client,Integer pageSize,Integer pageNo,HttpServletRequest request){
 		Result result=new Result();
-		result.setData(bannersService.findAdminBannersList( apiUrl,client, pageSize, pageNo));
+		result.setData(bannersService.findBannersList( apiUrl,client, pageSize, pageNo));
 		return result;
 	}