update: payment

This commit is contained in:
tokumeikoi 2021-05-07 01:18:38 +09:00
parent dc6317db97
commit b9796f462c

View File

@ -25,7 +25,7 @@ class PaymentController extends Controller
{ {
$payments = Payment::all(); $payments = Payment::all();
foreach ($payments as $k => $v) { foreach ($payments as $k => $v) {
$payments[$k]['notify_url'] = url("/api/v1/guest/payment/notify/{$v->payment}/{$v->id}"); $payments[$k]['notify_url'] = url("/api/v1/guest/payment/notify/{$v->payment}/{$v->uuid}");
} }
return response([ return response([
'data' => $payments 'data' => $payments