dever 3 anni fa
parent
commit
92e2400687
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. 2 3
      app/shop/lib/Cron.php

+ 2 - 3
app/shop/lib/Cron.php

@@ -21,7 +21,7 @@ class Cron
      *
      * @return mixed
      */
-    public function sell()
+    public function sell_api()
     {
         $num = Dever::input('num', 1);
         $start = Dever::input('start', date('Y-m-d', strtotime('-'.$num.' day')));
@@ -56,7 +56,7 @@ class Cron
     }
 
     # 处理月度对账数据
-    public function sell_month()
+    public function sell_month_api()
     {
         $num = Dever::input('num', 1);
         if ($num > 0) {
@@ -64,7 +64,6 @@ class Cron
         } else {
             $month = Dever::input('start', date('Y-m'));
         }
-        
 
         $where['status'] = '5,6';
         $start = Dever::maketime($month . '-01 00:00:00');