dever 7 лет назад
Родитель
Сommit
800d805a9d
2 измененных файлов с 0 добавлено и 2 удалено
  1. 0 1
      component/src/Auth.php
  2. 0 1
      main/lib/Wechat.php

+ 0 - 1
component/src/Auth.php

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

+ 0 - 1
main/lib/Wechat.php

@@ -130,7 +130,6 @@ class Wechat
 		if (is_array($value) || (is_string($value) && strstr($value, 'http://'))) {
 			if ($refresh) {
 				$result = $this->curl(false, $value, false);
-				print_r($result);die;
 			} else {
 				$result = $this->curl(false, $value);
 			}