diff --git a/app/backend/controller/Addon.php b/app/backend/controller/Addon.php index 2d74446e..adcce65d 100644 --- a/app/backend/controller/Addon.php +++ b/app/backend/controller/Addon.php @@ -236,8 +236,8 @@ public function install(string $name='',string $type='') { set_time_limit(0); $name = $this->request->param("name")??$name; - $plugins_id = $this->request->param("plugins_id"); - $version_id = $this->request->param("version_id"); + $plugins_id = $this->request->param("plugins_id",0); + $version_id = $this->request->param("version_id",0); $type = $this->request->param("type")??$type; // 插件名是否为空 if (!$name) { diff --git a/config/funadmin.php b/config/funadmin.php index 61724ff2..10eb3182 100644 --- a/config/funadmin.php +++ b/config/funadmin.php @@ -10,7 +10,7 @@ //是否演示站点 'isDemo'=>0, //版本 - 'version' => '6.0.6', + 'version' => '6.0.7', 'version_data' => date('Y-m-d'),