update: theme

This commit is contained in:
tokumeikoi 2022-05-09 00:30:44 +08:00
parent db06001254
commit 74265a5b59

View File

@ -34,6 +34,7 @@ class ThemeController extends Controller
try {
Artisan::call('config:cache');
sleep(2);
} catch (\Exception $e) {
abort(500, "{$themeName}初始化失败");
}
@ -93,6 +94,7 @@ class ThemeController extends Controller
try {
Artisan::call('config:cache');
sleep(2);
} catch (\Exception $e) {
abort(500, '保存失败');
}