dever 6 years ago
parent
commit
0b9d653958
1 changed files with 4 additions and 0 deletions
  1. 4 0
      main/lib/Cron.php

+ 4 - 0
main/lib/Cron.php

@@ -66,6 +66,10 @@ class Cron
         if ($order_id) {
             $where['order_id'] = $order_id;
         }
+        $uid = Dever::input('uid');
+        if ($uid) {
+            $where['uid'] = $uid;
+        }
         $order = Dever::db('journal/order')->state($where);
 
         $user = array();