rabin 3 anos atrás
pai
commit
ff6b92c68d
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      app/shop/lib/Cron.php

+ 1 - 0
app/shop/lib/Cron.php

@@ -237,6 +237,7 @@ class Cron
 
         if ($order) {
             foreach ($order as $k => $v) {
+                Dever::load('mshop/lib/buy')->set(1, 1)->cancel($v['type_id'], $v['id']);
                 Dever::db('shop/buy_order')->update(array('where_id' => $v['id'], 'status' => 11));
             }
         }