rabin 2 years ago
parent
commit
8cfedbc689
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/card/lib/Goods_set.php

+ 1 - 1
app/card/lib/Goods_set.php

@@ -17,7 +17,7 @@ class Goods_set
     {
     {
         $result = array();
         $result = array();
         $id = Dever::input('card_id', 1);
         $id = Dever::input('card_id', 1);
-        $card = Dever::input('card/info')->find($id);
+        $card = Dever::db('card/info')->find($id);
         if (!$card) {
         if (!$card) {
             return Dever::outDiy($result);
             return Dever::outDiy($result);
         }
         }