diff --git a/catch/wechat/module.json b/catch/wechat/module.json index d46a960..8013acc 100644 --- a/catch/wechat/module.json +++ b/catch/wechat/module.json @@ -14,5 +14,5 @@ "aliases": "wechat", "files": [], "requires": [], - "enable": true + "enable": false } \ No newline at end of file diff --git a/extend/catcher/library/InstallLocalModule.php b/extend/catcher/library/InstallLocalModule.php index 88472dc..74d9ad1 100644 --- a/extend/catcher/library/InstallLocalModule.php +++ b/extend/catcher/library/InstallLocalModule.php @@ -37,6 +37,7 @@ class InstallLocalModule } else { $this->installModuleTables(); $this->installModuleSeeds(); + $this->enableModule(); return true; } }