Heim  >  Artikel  >  Backend-Entwicklung  >  php cms

php cms

WBOY
WBOYOriginal
2016-07-25 08:46:361175Durchsuche
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


Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn