|
@@ -9,7 +9,7 @@ use think\facade\Cache;
|
|
|
|
|
|
|
|
class MiniApp extends Application
|
|
class MiniApp extends Application
|
|
|
{
|
|
{
|
|
|
- public function __construct(string $appID = null)
|
|
|
|
|
|
|
+ public function __construct(?string $appID = null)
|
|
|
{
|
|
{
|
|
|
$rawConfig = extension_config('wechat');
|
|
$rawConfig = extension_config('wechat');
|
|
|
if (!isset($rawConfig['app_id'], $rawConfig['secret'])) {
|
|
if (!isset($rawConfig['app_id'], $rawConfig['secret'])) {
|