diff --git a/README.md b/README.md index e1645b3..b0934da 100644 --- a/README.md +++ b/README.md @@ -61,3 +61,10 @@ TRC20: TLypStEWsVrj6Wz9mCxbXffqgt5yz3Y4XB - v2board 1.7.3 [点击跳转迁移指南](./docs/v2b_1.7.3迁移指南.md) - v2board wyx2685 [点击跳转迁移指南](./docs/v2b_wyx2685迁移指南.md) + +### 注意 +> 修改后台路径需要重启才能生效 +``` +docker compose restart +``` +> 如果是是aapanel安装则需要重启 webman守护进程 \ No newline at end of file diff --git a/app/Console/Commands/MigrateFromV2b.php b/app/Console/Commands/MigrateFromV2b.php index 7a201aa..95c82a3 100644 --- a/app/Console/Commands/MigrateFromV2b.php +++ b/app/Console/Commands/MigrateFromV2b.php @@ -175,6 +175,8 @@ class MigrateFromV2b extends Command ]); $this->info("配置 ${k} 迁移成功"); } + \Artisan::call('config:clear'); + \Artisan::call('config:cache'); $this->info('所有配置迁移完成'); } diff --git a/docs/config迁移指南.md b/docs/config迁移指南.md index 0dc9ec5..746cd1f 100644 --- a/docs/config迁移指南.md +++ b/docs/config迁移指南.md @@ -27,3 +27,10 @@ docker compose down docker compose run -it --rm xboard php artisan migrateFromV2b config docker compose up -d ``` + +## 注意 +> 修改后台路径需要重启才能生效 +``` +docker compose restart +``` +> 如果是是aapanel安装则需要重启 webman守护进程 diff --git a/readme.md b/readme.md index e1645b3..b0934da 100755 --- a/readme.md +++ b/readme.md @@ -61,3 +61,10 @@ TRC20: TLypStEWsVrj6Wz9mCxbXffqgt5yz3Y4XB - v2board 1.7.3 [点击跳转迁移指南](./docs/v2b_1.7.3迁移指南.md) - v2board wyx2685 [点击跳转迁移指南](./docs/v2b_wyx2685迁移指南.md) + +### 注意 +> 修改后台路径需要重启才能生效 +``` +docker compose restart +``` +> 如果是是aapanel安装则需要重启 webman守护进程 \ No newline at end of file