mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: add payment app_url alert
This commit is contained in:
		| @@ -42,6 +42,9 @@ class PaymentController extends Controller | |||||||
|  |  | ||||||
|     public function save(Request $request) |     public function save(Request $request) | ||||||
|     { |     { | ||||||
|  |         if (!config('v2board.site.app_url')) { | ||||||
|  |             abort(500, '请在站点配置中配置站点地址'); | ||||||
|  |         } | ||||||
|         if ($request->input('id')) { |         if ($request->input('id')) { | ||||||
|             $payment = Payment::find($request->input('id')); |             $payment = Payment::find($request->input('id')); | ||||||
|             if (!$payment) abort(500, '支付方式不存在'); |             if (!$payment) abort(500, '支付方式不存在'); | ||||||
|   | |||||||
| @@ -236,5 +236,5 @@ return [ | |||||||
|     | The only modification by laravel config |     | The only modification by laravel config | ||||||
|     | |     | | ||||||
|     */ |     */ | ||||||
|     'version' => '1.5.2.1627559775390' |     'version' => '1.5.3.1627560708248' | ||||||
| ]; | ]; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user