提交 bb0d85f1 编写于 作者: D Devil

系统更新+插件更新优化

上级 0060b920
......@@ -1460,6 +1460,13 @@ php;
SqlconsoleService::Implement(['sql'=>file_get_contents($sql_file)]);
}
// 钩子部署
$ret = self::PluginsHookDeployment();
if($ret['code'] != 0)
{
return $ret;
}
// 插件事件回调
PluginsService::PluginsEventCall($plugins, 'Upgrade', $params);
......
......@@ -146,6 +146,7 @@ class SystemUpgradeService
// 需要处理的文件
$handle_file_arr = [
'update.sql',
'power.sql',
];
while(($temp_resource = zip_read($resource)) !== false)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册