From 512260f90905ffa400ddb1b382e30ddb9441d69b Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Mon, 16 Mar 2015 21:56:25 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20=E6=8E=A8=E8=96=A6=E5=AD=B8=E7=BF=92?= =?UTF-8?q?=E9=BB=9E=E6=99=82=E7=9A=84=E5=85=B6=E4=BB=96=E7=8B=80=E6=B3=81?= =?UTF-8?q?=EF=BC=88=E5=AD=B8=E7=BF=92=E5=AE=8C=E6=88=90=E3=80=81=E6=99=82?= =?UTF-8?q?=E9=96=93=E5=B7=B2=E9=81=8E=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/api/v2/index.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/api/v2/index.php b/htdocs/api/v2/index.php index 1ad0bf7..22ea497 100644 --- a/htdocs/api/v2/index.php +++ b/htdocs/api/v2/index.php @@ -1225,6 +1225,7 @@ $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; } @@ -1232,6 +1233,7 @@ $app->group('/tokens', 'APIrequest', function () use ($app, $app_template) { else if($sact->getRemainingPointTotal() <= 0) { $isEnd = true; + $recommandResult = array(); $result_recommand_total = array(); $recommandTotal = 0; } @@ -1368,6 +1370,7 @@ $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; } @@ -1375,6 +1378,7 @@ $app->group('/tokens', 'APIrequest', function () use ($app, $app_template) { else if($sact->getRemainingPointTotal() <= 0) { $isEnd = true; + $recommandResult = array(); $result_recommand_total = array(); $recommandTotal = 0; }