Home  >  Article  >  php教程  >  php cms门户网站模版

php cms门户网站模版

PHP中文网
PHP中文网Original
2016-05-23 16:38:531615browse

1. [PHP]代码 

 'Auth\AuthController',
        'password' => 'Auth\PasswordController',
]);

Route::group(['prefix' => 'user', 'namespace' => 'User','middleware'=>'user'], function()
{
  Route::get('/', 'UserController@index');
  Route::post('/', 'UserController@index');
  Route::get('/edit/{id}', 'UserController@edit');
  Route::post('/edit/{id}', 'UserController@edit');
  Route::get('/update/{id}', 'UserController@update');
  Route::post('/update/{id}', 'UserController@update');
  Route::get('/history/{id}', 'UserController@history');
  Route::post('/history/{id}', 'UserController@history');

  Route::get('/wealthadd/{id}', 'UserController@wealthadd');
  Route::post('/wealthadd/{id}', 'UserController@wealthadd');

  Route::get('/dowealthadd/{id}', 'UserController@dowealthadd');
"app/Http/routes.php" 154L, 5664C                                      1,1          顶端

                   

                   

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