refactor: Remove extensive unused administrative UI, styling, and JavaScript assets, and introduce a new payment API controller.

This commit is contained in:
pbao9
2026-03-09 14:16:39 +07:00
parent 23a496f511
commit 7b3c955d38
456 changed files with 2212 additions and 74052 deletions
+11 -10
View File
@@ -1,10 +1,5 @@
<?php
use App\Models\Customer;
use App\Models\User;
use Illuminate\Support\Facades\Route;
use Yajra\DataTables\DataTables;
/*
|--------------------------------------------------------------------------
| Web Routes
@@ -14,11 +9,17 @@ use Yajra\DataTables\DataTables;
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
| NOTE: All admin functionality has been migrated to REST API
| See routes/api.php for API endpoints
|
*/
// Public API routes for client (already defined in routes/client.php)
// See routes/api.php for admin API endpoints
Route::domain('admin.portal.test')->group(function () {
include __DIR__ . '/admin.php';
});
Route::any('{any}', function () {
return response()->json([
'error' => true,
'message' => 'Route not found'
], 404);
})->where('any', '.*');