Home  >  Article  >  Backend Development  >  php cms

php cms

WBOY
WBOYOriginal
2016-07-25 08:46:361209browse
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' => 'AuthAuthController',
  19. 'password' => 'AuthPasswordController',
  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


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn