diff --git a/app/Http/Controllers/Admin/PaymentController.php b/app/Http/Controllers/Admin/PaymentController.php index 806eed1b..b278d708 100644 --- a/app/Http/Controllers/Admin/PaymentController.php +++ b/app/Http/Controllers/Admin/PaymentController.php @@ -42,6 +42,9 @@ class PaymentController extends Controller public function save(Request $request) { + if (!config('v2board.site.app_url')) { + abort(500, '请在站点配置中配置站点地址'); + } if ($request->input('id')) { $payment = Payment::find($request->input('id')); if (!$payment) abort(500, '支付方式不存在'); diff --git a/config/app.php b/config/app.php index b5b03113..e94f80a8 100755 --- a/config/app.php +++ b/config/app.php @@ -236,5 +236,5 @@ return [ | The only modification by laravel config | */ - 'version' => '1.5.2.1627559775390' + 'version' => '1.5.3.1627560708248' ];