1
This commit is contained in:
parent
2514b929f1
commit
c108b36e6f
@ -21,6 +21,8 @@ class Mission(object):
|
|||||||
['current_week_active_value', 0, '当前周活跃度'],
|
['current_week_active_value', 0, '当前周活跃度'],
|
||||||
['day_active_limit', 0, '每日活跃度上限'],
|
['day_active_limit', 0, '每日活跃度上限'],
|
||||||
['week_active_limit', 0, '每周活跃度上限'],
|
['week_active_limit', 0, '每周活跃度上限'],
|
||||||
|
['day_time_end', 0, '每日活动结算时间'],
|
||||||
|
['week_time_end', 0, '每周活动结算时间'],
|
||||||
['!mission_list1', [_common.Mission()], '任务列表1'],
|
['!mission_list1', [_common.Mission()], '任务列表1'],
|
||||||
['!mission_list2', [_common.Mission()], '任务列表2'],
|
['!mission_list2', [_common.Mission()], '任务列表2'],
|
||||||
]
|
]
|
||||||
|
@ -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)),
|
'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),
|
'day_active_limit' => mt\Parameter::getVal('activeness_limit', 0),
|
||||||
'week_active_limit' => mt\Parameter::getVal('max_weekly', 0),
|
'week_active_limit' => mt\Parameter::getVal('max_weekly', 0),
|
||||||
'day_time' => $this->_getDaySeconds(time())+3600*24,
|
'day_time_end' => $this->_getDaySeconds(time())+3600*24,
|
||||||
'week_time' => $this->_getMondaySeconds() + 7*24*3600,
|
'week_time_end' => $this->_getMondaySeconds() + 7*24*3600,
|
||||||
'mission_list1' => $missionDtoList1,
|
'mission_list1' => $missionDtoList1,
|
||||||
'mission_list2' => $missionDtoList2
|
'mission_list2' => $missionDtoList2
|
||||||
));
|
));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user