From ed3e40790e744370529d5fc5724aaa01c126ba2b Mon Sep 17 00:00:00 2001 From: xboard Date: Wed, 22 Nov 2023 18:26:19 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0=E8=BF=81=E7=A7=BB=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E5=89=8D=E6=B8=85=E9=99=A4?= =?UTF-8?q?=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 +++++++ app/Console/Commands/MigrateFromV2b.php | 2 ++ docs/config迁移指南.md | 7 +++++++ readme.md | 7 +++++++ 4 files changed, 23 insertions(+) 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