This commit is contained in:
hujiabin 2024-08-06 11:18:21 +08:00
parent cfbe50aaa3
commit de6a7f0500

View File

@ -42,6 +42,8 @@ class HashRateController extends BaseAuthedController
$mateList2 = \mt\AchievementsPower::getListByType(\mt\AchievementsPower::TYPE5);
foreach ($mateList2 as $mate) {
$taskDb = HashRate::find($mate['id'],$currentPeriod['id']);
$mate['task_id'] = $mate['id'];
$mate['current'] = 0;
$taskDto = $this->hashRateService->hashRateTaskDto($mate,$taskDb,$currentPeriod['id']);
array_push($taskDtoList2, $taskDto);
}