This commit is contained in:
Tokumeikoi 2020-03-30 16:11:08 +08:00
parent 1be7151b6c
commit ee80e0f2ff

View File

@ -106,6 +106,9 @@ class ConfigController extends Controller
abort(500, '修改失败');
}
\Artisan::call('config:cache');
if (function_exists('opcache')) {
opcache_reset();
}
return response([
'data' => true
]);