dever hace 7 años
padre
commit
61abaae3d4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      component/src/Auth.php

+ 1 - 1
component/src/Auth.php

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