WuYongJie 2b6c4030e5
Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
chore: 补充财务与支付模块源码
2026-07-20 18:40:05 +08:00

15 lines
418 B
PHP

<?php
use Illuminate\Support\Facades\Route;
/**
* 'signed' middleware and 'signed/offline-payments' prefix applied to all routes (including names)
*
* @see \App\Providers\Route::register
*/
Route::signed('offline-payments', function () {
Route::get('invoices/{invoice}', 'Payment@show')->name('invoices.show');
Route::post('invoices/{invoice}/confirm', 'Payment@confirm')->name('invoices.confirm');
});