From c3def1b4d214526dbca4a3663887d554892a62ee Mon Sep 17 00:00:00 2001 From: wikiboss Date: Sat, 12 Sep 2026 17:01:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=98=BE=E5=BC=8F=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E5=90=8D=E4=B8=8E=E8=B7=AF=E5=BE=84=EF=BC=8C?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=B8=A6=E4=B8=8B=E5=88=92=E7=BA=BF=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E7=BC=93=E5=AD=98=E4=B8=8E=E8=A7=A3=E6=9E=90=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addons/shopro_huifu/Shopro_huifu.php | 8 ++++++++ addons/shopro_wechat_trade/Shopro_wechat_trade.php | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/addons/shopro_huifu/Shopro_huifu.php b/addons/shopro_huifu/Shopro_huifu.php index dcb6ffb..7bba372 100644 --- a/addons/shopro_huifu/Shopro_huifu.php +++ b/addons/shopro_huifu/Shopro_huifu.php @@ -9,6 +9,14 @@ use think\Db; class Shopro_huifu extends Addons { + public function __construct() + { + $this->addonName = 'shopro_huifu'; + $this->addonPath = ADDON_PATH . 'shopro_huifu' . DS; + $this->addons_path = $this->addonPath; + parent::__construct(); + } + public function install() { Installer::run(); diff --git a/addons/shopro_wechat_trade/Shopro_wechat_trade.php b/addons/shopro_wechat_trade/Shopro_wechat_trade.php index 3f192ac..43d487d 100644 --- a/addons/shopro_wechat_trade/Shopro_wechat_trade.php +++ b/addons/shopro_wechat_trade/Shopro_wechat_trade.php @@ -8,6 +8,14 @@ use think\Addons; class Shopro_wechat_trade extends Addons { + public function __construct() + { + $this->addonName = 'shopro_wechat_trade'; + $this->addonPath = ADDON_PATH . 'shopro_wechat_trade' . DS; + $this->addons_path = $this->addonPath; + parent::__construct(); + } + public function install() { Installer::run();