mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: payment
This commit is contained in:
		| @@ -22,8 +22,12 @@ class PaymentController extends Controller | ||||
|  | ||||
|     public function fetch() | ||||
|     { | ||||
|         $payments = Payment::all(); | ||||
|         foreach ($payments as $k => $v) { | ||||
|             $payments[$k]['notify_url'] = url("/api/v1/guest/payment/notify/{$v->payment}/{$v->id}"); | ||||
|         } | ||||
|         return response([ | ||||
|             'data' => Payment::all() | ||||
|             'data' => $payments | ||||
|         ]); | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user