dever 7 years ago
parent
commit
e1808b66c0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      component/src/Auth.php

+ 2 - 1
component/src/Auth.php

@@ -81,9 +81,10 @@ class Auth
     public function cron()
     {
         $user = Dever::db('component/user')->state();
+        print_r($user);die;
         if ($user) {
         	foreach ($user as $k => $v) {
-        		$wechat->oauth($v['oauth_id'], 2000, true);
+        		$this->wechat->oauth($v['oauth_id'], 2000, true);
         	}
         }
     }