CaiWuXiTong/routes/signed.php
苏木 770ddea8a9 feat(供应商对账): 增加免登录送货确认链接 (#1180)
Co-authored-by: 苏木 <594326199@qq.com>
Co-committed-by: 苏木 <594326199@qq.com>
2026-11-15 11:36:27 +08:00

46 lines
2.1 KiB
PHP

<?php
use Illuminate\Support\Facades\Route;
/**
* 'signed' middleware and prefix applied to all routes
*
* @see \App\Providers\Route::mapSignedRoutes
* @see \modules\OfflinePayments\Routes\signed.php for module example
*/
Route::get('invoices/{invoice}', 'Portal\Invoices@signed')->name('signed.invoices.show');
Route::get('invoices/{invoice}/print', 'Portal\Invoices@printInvoice')->name('signed.invoices.print');
Route::get('invoices/{invoice}/pdf', 'Portal\Invoices@pdfInvoice')->name('signed.invoices.pdf');
Route::post('invoices/{invoice}/payment', 'Portal\Invoices@payment')->name('signed.invoices.payment');
Route::post('invoices/{invoice}/confirm', 'Portal\Invoices@confirm')->name('signed.invoices.confirm');
Route::get('invoices/{invoice}/finish', 'Portal\Invoices@finish')->name('signed.invoices.finish');
Route::get('payments/{payment}', 'Portal\Payments@signed')->name('signed.payments.show');
Route::get('payments/{payment}/print', 'Portal\Payments@printPayment')->name('signed.payments.print');
Route::get('payments/{payment}/pdf', 'Portal\Payments@pdfPayment')->name('signed.payments.pdf');
Route::get('supplier-returns/{token}', 'Business\SupplierReturnShare@show')
->middleware('throttle:60,1')
->name('signed.supplier-returns.show');
Route::post('supplier-returns/{token}/confirm-all', 'Business\SupplierReturnShare@confirmAll')
->middleware('throttle:10,1')
->name('signed.supplier-returns.confirm-all');
Route::get('supplier-returns/{token}/excel', 'Business\SupplierReturnShare@downloadExcel')
->middleware('throttle:20,1')
->name('signed.supplier-returns.excel');
Route::get('supplier-returns/{token}/csv', 'Business\SupplierReturnShare@downloadCsv')
->middleware('throttle:20,1')
->name('signed.supplier-returns.csv');
Route::get('supplier-summary-confirmations/{token}', 'Business\SupplierSummaryConfirmationShare@show')
->middleware('throttle:60,1')
->name('signed.supplier-summary-confirmations.show');
Route::post('supplier-summary-confirmations/{token}/confirm', 'Business\SupplierSummaryConfirmationShare@confirm')
->middleware('throttle:10,1')
->name('signed.supplier-summary-confirmations.confirm');