|
@@ -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);
|
|
|
}
|
|
|
}
|
|
|
}
|