Maison  >  Article  >  développement back-end  >  php cms

php cms

WBOY
WBOYoriginal
2016-07-25 08:46:361175parcourir
Laravel5.0 BootStrap echarts
  1. /*
  2. |--------------------------------------------------------------------------
  3. | Application Routes
  4. |--------------------------------------------------------------------------
  5. |
  6. | Here is where you can register all of the routes for an application.
  7. | It's a breeze. Simply tell Laravel the URIs it should respond to
  8. | and give it the controller to call when that URI is requested.
  9. |
  10. */
  11. Route::get('/', 'WelcomeController@index');
  12. Route::get('home', 'HomeController@index');
  13. Route::post('/appconf', 'WelcomeController@appconf');
  14. Route::get('/appconf', 'WelcomeController@appconf');
  15. Route::get('law', 'WelcomeController@law');
  16. Route::get('lawframe', 'WelcomeController@lawframe');
  17. Route::controllers([
  18. 'auth' => 'Auth\AuthController',
  19. 'password' => 'Auth\PasswordController',
  20. ]);
  21. Route::group(['prefix' => 'user', 'namespace' => 'User','middleware'=>'user'], function()
  22. {
  23. Route::get('/', 'UserController@index');
  24. Route::post('/', 'UserController@index');
  25. Route::get('/edit/{id}', 'UserController@edit');
  26. Route::post('/edit/{id}', 'UserController@edit');
  27. Route::get('/update/{id}', 'UserController@update');
  28. Route::post('/update/{id}', 'UserController@update');
  29. Route::get('/history/{id}', 'UserController@history');
  30. Route::post('/history/{id}', 'UserController@history');
  31. Route::get('/wealthadd/{id}', 'UserController@wealthadd');
  32. Route::post('/wealthadd/{id}', 'UserController@wealthadd');
  33. Route::get('/dowealthadd/{id}', 'UserController@dowealthadd');
  34. "app/Http/routes.php" 154L, 5664C 1,1 顶端
复制代码
php, cms


Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn