家政小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

web.php 995B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Web Routes
  5. |--------------------------------------------------------------------------
  6. |
  7. | Here is where you can register web routes for your application. These
  8. | routes are loaded by the RouteServiceProvider within a group which
  9. | contains the "web" middleware group. Now create something great!
  10. |
  11. */
  12. Route::get('/', function () {
  13. return view('welcome');
  14. });
  15. Route::post('/common/upload', 'CommonController@upload');
  16. Route::post('/campaign/create', 'CampaignController@create');
  17. Route::post('/campaign/update', 'CampaignController@update');
  18. Route::delete('/campaign/delete', 'CampaignController@delete');
  19. Route::get('/campaign/list', 'CampaignController@list');
  20. Route::post('/product/create', 'ProductController@create');
  21. Route::post('/product/update', 'ProductController@update');
  22. Route::delete('/product/delete', 'ProductController@delete');
  23. Route::get('/product/list', 'ProductController@list');