This commit is contained in:
hujiabin 2023-03-24 17:01:01 +08:00
parent 2514b929f1
commit c108b36e6f
2 changed files with 4 additions and 2 deletions

View File

@ -21,6 +21,8 @@ class Mission(object):
['current_week_active_value', 0, '当前周活跃度'],
['day_active_limit', 0, '每日活跃度上限'],
['week_active_limit', 0, '每周活跃度上限'],
['day_time_end', 0, '每日活动结算时间'],
['week_time_end', 0, '每周活动结算时间'],
['!mission_list1', [_common.Mission()], '任务列表1'],
['!mission_list2', [_common.Mission()], '任务列表2'],
]

View File

@ -106,8 +106,8 @@ class MissionController extends BaseAuthedController {
'current_week_active_value' => min($this->_getWeeklyV(TN_WEEKLY_ACTIVE, 0), mt\Parameter::getVal('max_weekly', 0)),
'day_active_limit' => mt\Parameter::getVal('activeness_limit', 0),
'week_active_limit' => mt\Parameter::getVal('max_weekly', 0),
'day_time' => $this->_getDaySeconds(time())+3600*24,
'week_time' => $this->_getMondaySeconds() + 7*24*3600,
'day_time_end' => $this->_getDaySeconds(time())+3600*24,
'week_time_end' => $this->_getMondaySeconds() + 7*24*3600,
'mission_list1' => $missionDtoList1,
'mission_list2' => $missionDtoList2
));