更新插件的前台默认的显示页面,控制器的 bool变量名称更新后可以正常显示。

This commit is contained in:
panx
2024-08-17 22:22:12 +08:00
parent c26870b8c5
commit f2b899bd0b
29 changed files with 699 additions and 2 deletions

View File

@@ -0,0 +1,55 @@
<?php
namespace plugin\partmanage;
use app\PluginController;
/**
* 部件管理插件
*/
class Partmanage extends PluginController
{
/**
* 插件安装方法
* @return bool
*/
public function install()
{
return true;
}
/**
* 插件卸载方法
* @return bool
*/
public function uninstall()
{
return true;
}
/**
* 插件启用方法
* @return bool
*/
public function enabled()
{
return true;
}
/**
* 插件禁用方法
* @return bool
*/
public function disabled()
{
return true;
}
/**
* 插件初始化
* @return bool
*/
public function appInit()
{}
}