dever 7 년 전
부모
커밋
61abaae3d4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);