循环活动结束时间,前端展示
parent
4fcebd8359
commit
efa47029bc
|
@ -623,7 +623,7 @@ public class ActivityLogic implements IEventHandler{
|
||||||
}
|
}
|
||||||
else if (sGlobalActivity.getTime() == ActivityType.OPEN_TYPE_CYCLE){
|
else if (sGlobalActivity.getTime() == ActivityType.OPEN_TYPE_CYCLE){
|
||||||
long now = TimeUtils.now();
|
long now = TimeUtils.now();
|
||||||
int intervalTime = endTime - startTime;
|
long intervalTime = (endTime - startTime) * 1000L;
|
||||||
long cycleTime = sGlobalActivity.getCycleMinute() * TimeUtils.ONE_MINUTE;
|
long cycleTime = sGlobalActivity.getCycleMinute() * TimeUtils.ONE_MINUTE;
|
||||||
long latelyStarTime = TimeUtils.getLatelyTime(startTime * 1000L, now, cycleTime);
|
long latelyStarTime = TimeUtils.getLatelyTime(startTime * 1000L, now, cycleTime);
|
||||||
startTime = (int) (latelyStarTime/1000);
|
startTime = (int) (latelyStarTime/1000);
|
||||||
|
|
Loading…
Reference in New Issue