12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
-
- /*
- |--------------------------------------------------------------------------
- | Web Routes
- |--------------------------------------------------------------------------
- |
- | Here is where you can register web routes for your application. These
- | routes are loaded by the RouteServiceProvider within a group which
- | contains the "web" middleware group. Now create something great!
- |
- */
-
-
- Route::get('/', function () {
- return view('welcome');
- });
-
- Auth::routes();
-
- Route::get('/home', 'HomeController@index')->name('home');
-
- Route::post('/upload', 'CommonController@upload');
- Route::post('/server/store', 'ServerInfoController@store');
- Route::get('/{order_type}/{order_id}/comments', 'CommonController@comments');
- Route::post('/{order_type}/status', 'CommonController@status');
- Route::get('/{order_type}/{id}', 'CommonController@get')->where('id', '[0-9]+');;
- Route::delete('/{order_type}/{id}', 'CommonController@delete');
-
- Route::get('/campaigns', 'CampaignController@list');
-
- Route::get('/products', 'ProductController@list');
-
- Route::get('/house_clean_orders', 'HouseCleanOrderController@list');
-
- Route::get('/house_appliance_clean_orders', 'HouseApplianceCleanOrderController@list');
-
- Route::get('/housekeeper_orders', 'HousekeeperOrderController@list');
-
- Route::get('/maternity_matron_orders', 'MaternityMatronOrderController@list');
-
- Route::get('/product_orders', 'ProductOrderController@list');
-
- Route::post('/{order_type}/{order_id}/comment', 'CommonController@addComment');
- Route::post('/campaign/store', 'CampaignController@store');
- Route::post('/product/store', 'ProductController@store');
- Route::post('/house_clean_order/store', 'HouseCleanOrderController@store');
- Route::post('/house_appliance_clean_order/store', 'HouseApplianceCleanOrderController@store');
- Route::post('/housekeeper_order/store', 'HousekeeperOrderController@store');
- Route::post('/maternity_matron_order/store', 'MaternityMatronOrderController@store');
- Route::post('/product_order/store', 'ProductOrderController@store');
-
- Route::middleware(['auth'])->group(function () {
-
- });
|