dever 6 years ago
parent
commit
301bfe54f7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/lib/Cron.php

+ 2 - 2
main/lib/Cron.php

@@ -55,7 +55,7 @@ class Cron
     }
 
     # 重新计算排行榜
-    public function pai_api()
+    public function pai1_api()
     {
         $id = Dever::input('product_id', 28);
         $data = Dever::db('act/score')->state(array('type' => 4, 'data_id' => $id));
@@ -79,7 +79,7 @@ class Cron
                     $score += $this->paiOrder($v1);
                 }
             }
-            print_r($score);
+            print_r($score);die;
             /*
             if ($score > 0) {
                 Dever::db('act/score')->update(array('where_id' => $v['id'], 'score' => $score));