| | |
| | | |
| | | |
| | | /** |
| | | * 获取有效的活动列表 |
| | | * @param appId |
| | | * @param sponsorId |
| | | * @param stateList |
| | | * @param excludeActivityIds 排除某些活动ID |
| | | * @param key |
| | | * @param page |
| | | * @param pageSize |
| | | * @return |
| | | */ |
| | | public List<LuckyActivity> getActivityList(Long appId, Long sponsorId, List<Integer> stateList, List<Long> excludeActivityIds, String key, int page, int pageSize); |
| | | |
| | | /** |
| | | * 有效的活动计数 |
| | | * |
| | | * @param appId |
| | |
| | | * @return |
| | | */ |
| | | public long countActivity(Long appId, Long sponsorId, List<Integer> stateList, String key); |
| | | |
| | | |
| | | /** |
| | | * 有效的活动计数 |
| | | * @param appId |
| | | * @param sponsorId |
| | | * @param stateList |
| | | * @param key |
| | | * @param excludeActivityIds 排除某些活动ID |
| | | * @return |
| | | */ |
| | | public long countActivity(Long appId, Long sponsorId, List<Integer> stateList, String key, List<Long> excludeActivityIds); |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | |
| | | |
| | | /** |
| | | * 活动简版详情 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public LuckyActivity getActivity(Long id); |
| | | |
| | | |
| | | /** |
| | | * 获取活动详情 |
| | | * |
| | | * @param id |
| | |
| | | public void updateActivity(LuckyActivity activity) throws LuckyActivityException; |
| | | |
| | | |
| | | /** |
| | | * 获取推荐活动列表 |
| | | * |
| | | * @param appId |
| | | * @param uid |
| | | * @param page |
| | | * @param pageSize |
| | | * @return |
| | | */ |
| | | public List<LuckyActivity> getRecommendActivity(Long appId, String uid, int page, int pageSize); |
| | | |
| | | |
| | | public Long getRecommendActivityCount(Long appId, String uid); |
| | | |
| | | |
| | | } |