|
|
@ -50,7 +50,7 @@ class OpenPlatform |
|
|
if (is_null($refreshToken)) { |
|
|
if (is_null($refreshToken)) { |
|
|
$refreshToken = $this->refreshToken($appid); |
|
|
$refreshToken = $this->refreshToken($appid); |
|
|
} |
|
|
} |
|
|
return $this->openPlatform->miniProgram($appid, $refreshToken)['code'] ?? null; |
|
|
|
|
|
|
|
|
return $this->openPlatform->miniProgram($appid, $refreshToken); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function codeTemplate() |
|
|
public function codeTemplate() |
|
|
|