Browse Source

fix set black card

stanley-king 4 years atrás
parent
commit
9f7216e3b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      helper/refill/util.php

+ 1 - 1
helper/refill/util.php

@@ -83,7 +83,7 @@ class util
         if(!empty($card_info)) {
             $card_info['black_card'] = 1;
             $mod_topcard = Model('topcard');
-            $mod_topcard->where(['card_no' => $card_no])->update(['black_card' => 1]);
+            $mod_topcard->table('topcard')->where(['card_no' => $card_no])->update(['black_card' => 1]);
             wcache($card_no,$card_info,'cardrefill-');
 
             return true;