php cms

WBOY
WBOYオリジナル
2016-07-25 08:46:361175ブラウズ
Laravel5.0 BootStrap echarts
  1. /*
  2. |--------------------------------- ----------------------------------------
  3. |申請ルート
  4. |---------------------------------------------- ------------------------
  5. |
  6. |ここで、アプリケーションのすべてのルートを登録できます。
  7. |とても簡単です。 Laravel に応答する URI を伝えるだけです
  8. |そして、その URI が要求されたときに呼び出すコントローラーを指定します。
  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. 'パスワード' => 'AuthPasswordController',
  20. ]);
  21. Route::group(['プレフィックス' => 'ユーザー', '名前空間' => 'ユーザー','ミドルウェア'=>'ユーザー'], 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


声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。