From de6a7f0500dd4efe636b3b17238ea28aa6a59dc6 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Tue, 6 Aug 2024 11:18:21 +0800 Subject: [PATCH] 1 --- webapp/controller/HashRateController.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/controller/HashRateController.class.php b/webapp/controller/HashRateController.class.php index c7443c1d..efcc7eeb 100644 --- a/webapp/controller/HashRateController.class.php +++ b/webapp/controller/HashRateController.class.php @@ -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); }