1
This commit is contained in:
parent
cfbe50aaa3
commit
de6a7f0500
@ -42,6 +42,8 @@ class HashRateController extends BaseAuthedController
|
|||||||
$mateList2 = \mt\AchievementsPower::getListByType(\mt\AchievementsPower::TYPE5);
|
$mateList2 = \mt\AchievementsPower::getListByType(\mt\AchievementsPower::TYPE5);
|
||||||
foreach ($mateList2 as $mate) {
|
foreach ($mateList2 as $mate) {
|
||||||
$taskDb = HashRate::find($mate['id'],$currentPeriod['id']);
|
$taskDb = HashRate::find($mate['id'],$currentPeriod['id']);
|
||||||
|
$mate['task_id'] = $mate['id'];
|
||||||
|
$mate['current'] = 0;
|
||||||
$taskDto = $this->hashRateService->hashRateTaskDto($mate,$taskDb,$currentPeriod['id']);
|
$taskDto = $this->hashRateService->hashRateTaskDto($mate,$taskDb,$currentPeriod['id']);
|
||||||
array_push($taskDtoList2, $taskDto);
|
array_push($taskDtoList2, $taskDto);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user