Authored by chaogeng

活动详情添加活动开始属性

... ... @@ -104,6 +104,13 @@ public class ActivitySettingServiceImpl implements IActivitySettingService {
}else{
rspBO.setIsEnd(0);
}
if(DateUtils.getCurrentTimeSecond() < beginTime){
rspBO.setIsBegin(0);
}else if(DateUtils.getCurrentTimeSecond() > endTime){
rspBO.setIsBegin(2);
}else{
rspBO.setIsBegin(1);
}
if(activityLuckydraw != null && activityLuckydraw.getDrawStatus() == 1){
rspBO.setIsDrawEnd(1);
}else{
... ...