mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
Proof of concept - Vue Polling a workaround for AWS API Gateway limitation
This commit is contained in:
@@ -70,6 +70,8 @@ Route::group(['middleware' => 'api', 'prefix' => 'v1', 'as' => 'api.'], function
|
||||
|
||||
require __DIR__ . '/help_menu.php';
|
||||
|
||||
require __DIR__ . '/job.php';
|
||||
|
||||
});
|
||||
|
||||
require __DIR__ . '/announcement.php';
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::group(['prefix' => 'job', 'as' => 'job.', 'namespace' => 'Jobs'], function () {
|
||||
Route::get('/fetch/{job_id}', 'FetchJobResultController@fetch')->name('fetch');
|
||||
});
|
||||
@@ -5,6 +5,7 @@ use Illuminate\Support\Facades\Route;
|
||||
Route::group(['namespace' => 'PackingLists', 'as' => 'packing_list.', 'prefix' => 'packing_list'], function () {
|
||||
Route::get('/{id}/show', 'FetchPackingListController@fetch')->name('show');
|
||||
Route::get('/list', 'ListPackingListsController@list')->name('list');
|
||||
Route::get('/list/job', 'ListPackingListsJobController@list')->name('list.job');
|
||||
Route::post('/create', 'CreatePackingListController@create')->name('create');
|
||||
Route::post('/create/deliver', 'CreateDeliverPackingListController@create')->name('create.deliver');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user