|
@@ -1214,9 +1214,10 @@ public class AuthServiceImpl implements AuthService {
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- public ResponseJson<PageInfo<ChallengeRoundVo>> getPublishedVideoList(String clubUserName,Integer status,Integer cursor,Integer count,Integer pageNum,Integer pageSize){
|
|
|
+ public ResponseJson<PageInfo<ChallengeRoundVo>> getPublishedVideoList(String clubUserName,Integer status,Integer cursor,Integer count,Integer pageNum,Integer pageSize,Integer authUserId){
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
- List<ChallengeRoundVo> listChallengeRoundVo=authMapper.getPublishedVideoList(clubUserName,status);
|
|
|
+ ChallengeActivityVo activityTime = authMapper.getActivityTime(authUserId);
|
|
|
+ List<ChallengeRoundVo> listChallengeRoundVo=authMapper.getPublishedVideoList(clubUserName,status,authUserId,activityTime.getStartTime(),activityTime.getEndTime());
|
|
|
PageInfo<ChallengeRoundVo> pageData = new PageInfo<>(listChallengeRoundVo);
|
|
|
//调用抖音api获取视频数据
|
|
|
String dyopenId=null;
|
|
@@ -1286,7 +1287,8 @@ public class AuthServiceImpl implements AuthService {
|
|
|
@Override
|
|
|
public ResponseJson<PageInfo<ChallengeRoundVo>> getPublishedVideo(String mobile,String authParty,Integer status,Integer cursor,Integer count,Integer authUserId,Integer pageNum,Integer pageSize){
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
- List<ChallengeRoundVo> listChallengeRoundVo=authMapper.getPublishedVideo(mobile,authParty,status,authUserId);
|
|
|
+ ChallengeActivityVo activityTime = authMapper.getActivityTime(authUserId);
|
|
|
+ List<ChallengeRoundVo> listChallengeRoundVo=authMapper.getPublishedVideo(mobile,authParty,status,authUserId,activityTime.getStartTime(),activityTime.getEndTime());
|
|
|
PageInfo<ChallengeRoundVo> pageData = new PageInfo<>(listChallengeRoundVo);
|
|
|
//调用抖音api获取视频数据
|
|
|
String dyopenId=null;
|