| xqd
@@ -367,13 +367,13 @@ class ApiController extends Controller
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- $today = $now->day;
|
|
|
- for($i = 1; $i <= $today; ++$i) {
|
|
|
- $tmp = $checkCardList->where('day', $i);
|
|
|
- if($tmp->count() == 0) {
|
|
|
- $checkCardList->push(collect(['month' => 'current', 'day' => $i, 'color' => '#f65556']));
|
|
|
- }
|
|
|
- }
|
|
|
+// $today = $now->day;
|
|
|
+// for($i = 1; $i <= $today; ++$i) {
|
|
|
+// $tmp = $checkCardList->where('day', $i);
|
|
|
+// if($tmp->count() == 0) {
|
|
|
+// $checkCardList->push(collect(['month' => 'current', 'day' => $i, 'color' => '#f65556']));
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
$thisMonthLearnTime = $this->getHumanTime($thisMonthLearnTime);
|
|
|
$totalLearnTime = $this->getHumanTime($totalLearnTime);
|