diff --git a/htdocs/api/v2/index.php b/htdocs/api/v2/index.php index 5d1dd55..1ad0bf7 100644 --- a/htdocs/api/v2/index.php +++ b/htdocs/api/v2/index.php @@ -1225,14 +1225,14 @@ $app->group('/tokens', 'APIrequest', function () use ($app, $app_template) { if($sact->isForceLearnTime() && $sact->getRemainingTime() <= 0) { $isEnd = true; - $recommandResult = array(); + $result_recommand_total = array(); $recommandTotal = 0; } // 是否已經學完了 else if($sact->getRemainingPointTotal() <= 0) { $isEnd = true; - $recommandResult = array(); + $result_recommand_total = array(); $recommandTotal = 0; } else { @@ -1368,14 +1368,14 @@ $app->group('/tokens', 'APIrequest', function () use ($app, $app_template) { if($sact->isForceLearnTime() && $sact->getRemainingTime() <= 0) { $isEnd = true; - $recommandResult = array(); + $result_recommand_total = array(); $recommandTotal = 0; } // 是否已經學完了 else if($sact->getRemainingPointTotal() <= 0) { $isEnd = true; - $recommandResult = array(); + $result_recommand_total = array(); $recommandTotal = 0; } else {