安装插件后的基础文件
This commit is contained in:
22
plugin/developer/Upgrade.php
Normal file
22
plugin/developer/Upgrade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace plugin\developer;
|
||||
|
||||
/**
|
||||
* 开发助手
|
||||
* 升级脚本
|
||||
*/
|
||||
class Upgrade
|
||||
{
|
||||
/**
|
||||
* 插件升级方法
|
||||
* @access public
|
||||
* @param $oldVersion
|
||||
* @param $newVersion
|
||||
* @return bool
|
||||
*/
|
||||
public function execute($oldVersion, $newVersion): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user