欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

php cms

程序员文章站 2022-05-23 10:01:05
...
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
相关标签: php cms