|
@@ -123,7 +123,6 @@ class Auth
|
|
} else {
|
|
} else {
|
|
$param = Dever::input('id', 1);
|
|
$param = Dever::input('id', 1);
|
|
$data = $this->wechat->oauth($param, 2000, true);
|
|
$data = $this->wechat->oauth($param, 2000, true);
|
|
- print_r($data);die;
|
|
|
|
}
|
|
}
|
|
if ($data && isset($data['openid'])) {
|
|
if ($data && isset($data['openid'])) {
|
|
$result = $this->wechat->curl('user', $data);
|
|
$result = $this->wechat->curl('user', $data);
|