mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: payment
This commit is contained in:
parent
0333d62e6f
commit
84583bd384
@ -22,8 +22,12 @@ class PaymentController extends Controller
|
|||||||
|
|
||||||
public function fetch()
|
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([
|
return response([
|
||||||
'data' => Payment::all()
|
'data' => $payments
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
public/assets/admin/components.chunk.css
vendored
2
public/assets/admin/components.chunk.css
vendored
File diff suppressed because one or more lines are too long
2
public/assets/admin/umi.js
vendored
2
public/assets/admin/umi.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user