刷冲特权问题修改
parent
b39221e45f
commit
5aef7674e7
|
@ -132,9 +132,9 @@ public class BrushPrivilegeActivity extends AbstractActivity {
|
|||
// 当前时间
|
||||
int now = TimeUtils.getZeroInt(TimeUtils.nowInt());
|
||||
// 间隔天数
|
||||
progress = TimeUtils.getSoFarWentDays(time * 1000, now * 1000);
|
||||
progress = TimeUtils.getSoFarWentDays(time * 1000L, now * 1000L);
|
||||
// 最多累计30天
|
||||
progress = progress > 30 ? 30 : progress;
|
||||
progress = Math.min(progress, 30);
|
||||
progressInfo.setProgrss(progress);
|
||||
mission.getActivityMissionMap().put(missionId,progressInfo);
|
||||
return progress;
|
||||
|
|
Loading…
Reference in New Issue