芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reginaeigbe.com/folder/admin/tmp/app/Http/Controllers/Admin/SettingController.php
getPaymentGatewayConfiguration(); return Inertia::render('Settings/PaymentGateway', $data); } public function paymentGatewayUpdate(Request $request, SettingRepository $repository) { $repository->updatePaymentGatewayConfigure($request->all()); return back()->with('success', 'Payment settings has been update'); } public function smtpSetting(SettingRepository $repository) { $data['smtp_config'] = $repository->getSmtpConfiguration(); return Inertia::render('Settings/SmtpSettings', $data); } public function smtpUpdate(SmtpSettingUpdateRequest $request, SettingRepository $repository) { $repository->updateEnvByKey($request->all()); return back()->with('success', 'Mail setting has been updated'); } }