Browse Source

Update wechat.class.php

 修复  函数 updateCardCode()
shine 10 years ago
parent
commit
633e0b0cb6
1 changed files with 4 additions and 2 deletions
  1. 4 2
      wechat.class.php

+ 4 - 2
wechat.class.php

@@ -2963,8 +2963,10 @@ class Wechat
      */
     public function updateCardCode($code,$code_id,$new_code) {
         $data = array(
-            'code' => $card,
-            'card_id' => $card_id,
+            //'code' => $card,
+            //'card_id' => $card_id,
+            'code'=>$code,
+            'code'=>$code_id,
             'new_code' => $new_code,
         );
         if (!$this->access_token && !$this->checkAuth()) return false;