fix: 显式设置插件名与路径,解决带下划线插件缓存与解析异常
这个提交包含在:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
在新工单中引用
屏蔽一个用户