This commit is contained in:
2020-11-14 03:04:25 +08:00
parent 8319fac4b7
commit 13a56f3555
9 changed files with 75 additions and 74 deletions
+5 -4
View File
@@ -14,10 +14,11 @@ class SmallProgram extends Miniprogarampage
private $url = 'https://api.weixin.qq.com/cgi-bin/token';
/**
* @return mixed
* @throws \Exception
*/
/**
* @param bool $get_token
* @return mixed
* @throws \Exception
*/
public function generateAccess_token($get_token = false)
{
if (!empty($this->config->getToken())) {