循环活动结束时间,前端展示

master_otnew
grimm 2024-03-05 16:36:48 +08:00
parent 4fcebd8359
commit efa47029bc
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ public class ActivityLogic implements IEventHandler{
}
else if (sGlobalActivity.getTime() == ActivityType.OPEN_TYPE_CYCLE){
long now = TimeUtils.now();
int intervalTime = endTime - startTime;
long intervalTime = (endTime - startTime) * 1000L;
long cycleTime = sGlobalActivity.getCycleMinute() * TimeUtils.ONE_MINUTE;
long latelyStarTime = TimeUtils.getLatelyTime(startTime * 1000L, now, cycleTime);
startTime = (int) (latelyStarTime/1000);