Commit 6708654a authored by 许润龙's avatar 许润龙

修改:活动视频、直播数据详情数据接口

parent be3e59b0
......@@ -104,9 +104,9 @@ public class BaseController {
if (DateUtil.between(publishDateEnd, publishDateStart, DateUnit.DAY) > dateNum) {
return BaseController.error("10010", "时间跨度最大为31天!");
}
if (CollectionUtils.isEmpty(dto.getActivityIds()) || dto.getActivityIds().size() > 5) {
return BaseController.error("10010", "活动ID不能为空,最大5个!");
}
// if (CollectionUtils.isEmpty(dto.getActivityIds()) || dto.getActivityIds().size() > 5) {
// return BaseController.error("10010", "活动ID不能为空,最大5个!");
// }
dto.setEnd(publishDateEnd);
dto.setStart(publishDateStart);
dto.setCurrent(dto.getCurrent() == null ? 1 : dto.getCurrent());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment