当前位置: 首页>>代码示例>>PHP>>正文


PHP route::put方法代码示例

本文整理汇总了PHP中route::put方法的典型用法代码示例。如果您正苦于以下问题:PHP route::put方法的具体用法?PHP route::put怎么用?PHP route::put使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在route的用法示例。


在下文中一共展示了route::put方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: function

<?php

Route::model('brands', 'AbuseIO\\Models\\Brand');
Route::resource('brands', 'BrandsController');
Route::group(['prefix' => 'brands', 'as' => 'brands.'], function () {
    // Search contacts
    Route::get('search/{one?}/{two?}/{three?}/{four?}/{five?}', ['middleware' => 'permission:brands_view', 'as' => 'search', 'uses' => 'BrandsController@search']);
    // Access to index list
    route::get('', ['middleware' => 'permission:brands_view', 'as' => 'index', 'uses' => 'BrandsController@index']);
    // Access to show object
    route::get('{brands}', ['middleware' => 'permission:brands_view', 'as' => 'show', 'uses' => 'BrandsController@show']);
    // Access to export object
    route::get('export/{format}', ['middleware' => 'permission:brands_export', 'as' => 'export', 'uses' => 'BrandsController@export']);
    // Access to create object
    route::get('create', ['middleware' => 'permission:brands_create', 'as' => 'create', 'uses' => 'BrandsController@create']);
    route::post('', ['middleware' => 'permission:brands_create', 'as' => 'store', 'uses' => 'BrandsController@store']);
    // Access to edit object
    route::get('{brands}/edit', ['middleware' => 'permission:brands_edit', 'as' => 'edit', 'uses' => 'BrandsController@edit']);
    route::patch('{brands}', ['middleware' => 'permission:brands_edit', 'as' => 'update', 'uses' => 'BrandsController@update']);
    route::put('{brands}', ['middleware' => 'permission:brands_edit', 'as' => 'update', 'uses' => 'BrandsController@update']);
    // Access to delete object
    route::delete('/{brands}', ['middleware' => 'permission:brands_delete', 'as' => 'destroy', 'uses' => 'BrandsController@destroy']);
});
开发者ID:yoimbert,项目名称:AbuseIO,代码行数:23,代码来源:SettingsBrands.php

示例2: function

<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
Route::get('/', function () {
    return view('welcome');
});
route::get('client', 'ClientController@index');
route::post('client', 'ClientController@store');
route::get('client/{id}', 'ClientController@show');
route::delete('client/{id}', 'ClientController@destroy');
route::put('client/{id}', 'ClientController@update');
route::get('projects/{id}/notes', 'ProjectNotesController@index');
route::post('projects/{id}/notes', 'ProjectNotesController@store');
route::get('projects/{id}/notes/{noteId}', 'ProjectNotesController@show');
route::put('projects/{id}/notes/{noteId}', 'ProjectNotesController@update');
route::delete('projects/{id}/notes/{noteId}', 'ProjectNotesController@destroy');
route::get('projects', 'ProjectsController@index');
route::post('projects', 'ProjectsController@store');
route::get('projects/{id}', 'ProjectsController@show');
route::delete('projects/{id}', 'ProjectsController@destroy');
route::put('projects/{id}', 'ProjectsController@update');
开发者ID:josealvjunior,项目名称:ProjetoFase2,代码行数:30,代码来源:routes.php

示例3: function

<?php

Route::resource('contacts', 'ContactsController');
Route::model('contacts', 'AbuseIO\\Models\\Contact');
Route::group(['prefix' => 'contacts', 'as' => 'contacts.'], function () {
    // Search contacts
    Route::get('search/{one?}/{two?}/{three?}/{four?}/{five?}', ['middleware' => 'permission:contacts_view', 'as' => 'search', 'uses' => 'ContactsController@search']);
    // Access to index list
    route::get('', ['middleware' => 'permission:contacts_view', 'as' => 'index', 'uses' => 'ContactsController@index']);
    // Access to show object
    route::get('{contacts}', ['middleware' => 'permission:contacts_view', 'as' => 'show', 'uses' => 'ContactsController@show']);
    // Access to export object
    route::get('export/{format}', ['middleware' => 'permission:contacts_export', 'as' => 'export', 'uses' => 'ContactsController@export']);
    // Access to create object
    route::get('create', ['middleware' => 'permission:contacts_create', 'as' => 'create', 'uses' => 'ContactsController@create']);
    route::post('', ['middleware' => 'permission:contacts_create', 'as' => 'store', 'uses' => 'ContactsController@store']);
    // Access to edit object
    route::get('{contacts}/edit', ['middleware' => 'permission:contacts_edit', 'as' => 'edit', 'uses' => 'ContactsController@edit']);
    route::patch('{contacts}', ['middleware' => 'permission:contacts_edit', 'as' => 'update', 'uses' => 'ContactsController@update']);
    route::put('{contacts}', ['middleware' => 'permission:contacts_edit', 'as' => 'update', 'uses' => 'ContactsController@update']);
    // Access to delete object
    route::delete('{contacts}', ['middleware' => 'permission:contacts_delete', 'as' => 'destroy', 'uses' => 'ContactsController@destroy']);
});
开发者ID:ihatehandles,项目名称:AbuseIO,代码行数:23,代码来源:Contacts.php

示例4: function

<?php

Route::model('users', 'AbuseIO\\Models\\User');
Route::resource('users', 'UsersController');
Route::group(['prefix' => 'users', 'as' => 'users.'], function () {
    // Search users
    Route::get('search/{one?}/{two?}/{three?}', ['middleware' => 'permission:users_view', 'as' => 'search', 'uses' => 'UsersController@search']);
    // Access to index list
    route::get('', ['middleware' => 'permission:users_view', 'as' => 'index', 'uses' => 'UsersController@index']);
    // Access to show object
    route::get('{users}', ['middleware' => 'permission:users_view', 'as' => 'show', 'uses' => 'UsersController@show']);
    // Access to export object
    route::get('export/{format}', ['middleware' => 'permission:users_export', 'as' => 'export', 'uses' => 'UsersController@export']);
    // Access to create object
    route::get('create', ['middleware' => 'permission:users_create', 'as' => 'create', 'uses' => 'UsersController@create']);
    route::post('', ['middleware' => 'permission:users_create', 'as' => 'store', 'uses' => 'UsersController@store']);
    // Access to disable object
    route::get('{users}/disable', ['middleware' => 'permission:users_disable', 'as' => 'disable', 'uses' => 'UsersController@disable']);
    // Access to enable object
    route::get('{users}/enable', ['middleware' => 'permission:users_enable', 'as' => 'enable', 'uses' => 'UsersController@enable']);
    // Access to edit object
    route::get('{users}/edit', ['middleware' => 'permission:users_edit', 'as' => 'edit', 'uses' => 'UsersController@edit']);
    route::patch('{users}', ['middleware' => 'permission:users_edit', 'as' => 'update', 'uses' => 'UsersController@update']);
    route::put('{users}', ['middleware' => 'permission:users_edit', 'as' => 'update', 'uses' => 'UsersController@update']);
    // Access to delete object
    route::delete('/{users}', ['middleware' => 'permission:users_delete', 'as' => 'destroy', 'uses' => 'UsersController@destroy']);
});
开发者ID:ihatehandles,项目名称:AbuseIO,代码行数:27,代码来源:SettingsUsers.php

示例5: function

<?php

Route::resource('domains', 'DomainsController');
Route::model('domains', 'AbuseIO\\Models\\Domain');
Route::group(['prefix' => 'domains', 'as' => 'domains.'], function () {
    // Search domains
    Route::get('search/{one?}/{two?}', ['middleware' => 'permission:domains_view', 'as' => 'search', 'uses' => 'DomainsController@search']);
    // Access to index list
    route::get('', ['middleware' => 'permission:domains_view', 'as' => 'index', 'uses' => 'DomainsController@index']);
    // Access to show object
    route::get('{domains}', ['middleware' => 'permission:domains_view', 'as' => 'show', 'uses' => 'DomainsController@show']);
    // Access to export object
    route::get('export/{format}', ['middleware' => 'permission:domains_export', 'as' => 'export', 'uses' => 'DomainsController@export']);
    // Access to create object
    route::get('create', ['middleware' => 'permission:domains_create', 'as' => 'create', 'uses' => 'DomainsController@create']);
    route::post('', ['middleware' => 'permission:domains_create', 'as' => 'store', 'uses' => 'DomainsController@store']);
    // Access to edit object
    route::get('{domains}/edit', ['middleware' => 'permission:domains_edit', 'as' => 'edit', 'uses' => 'DomainsController@edit']);
    route::patch('{domains}', ['middleware' => 'permission:domains_edit', 'as' => 'update', 'uses' => 'DomainsController@update']);
    route::put('{domains}', ['middleware' => 'permission:domains_edit', 'as' => 'update', 'uses' => 'DomainsController@update']);
    // Access to delete object
    route::delete('/{domains}', ['middleware' => 'permission:domains_delete', 'as' => 'destroy', 'uses' => 'DomainsController@destroy']);
});
开发者ID:ihatehandles,项目名称:AbuseIO,代码行数:23,代码来源:Domains.php

示例6: function

<?php

Route::model('accounts', 'AbuseIO\\Models\\Account');
Route::resource('accounts', 'AccountsController');
Route::group(['prefix' => 'accounts', 'as' => 'accounts.'], function () {
    // Search contacts
    Route::get('search/{one?}/{two?}/{three?}/{four?}/{five?}', ['middleware' => 'permission:accounts_view', 'as' => 'search', 'uses' => 'AccountsController@search']);
    // Access to index list
    route::get('', ['middleware' => 'permission:accounts_view', 'as' => 'index', 'uses' => 'AccountsController@index']);
    // Access to show object
    route::get('{accounts}', ['middleware' => 'permission:accounts_view', 'as' => 'show', 'uses' => 'AccountsController@show']);
    // Access to export object
    route::get('export/{format}', ['middleware' => 'permission:accounts_export', 'as' => 'export', 'uses' => 'AccountsController@export']);
    // Access to create object
    route::get('create', ['middleware' => 'permission:accounts_create', 'as' => 'create', 'uses' => 'AccountsController@create']);
    route::post('', ['middleware' => 'permission:accounts_create', 'as' => 'store', 'uses' => 'AccountsController@store']);
    // Access to disable object
    route::get('{accounts}/disable', ['middleware' => 'permission:accounts_disable', 'as' => 'disable', 'uses' => 'AccountsController@disable']);
    // Access to enable object
    route::get('{accounts}/enable', ['middleware' => 'permission:accounts_enable', 'as' => 'enable', 'uses' => 'AccountsController@enable']);
    // Access to edit object
    route::get('{accounts}/edit', ['middleware' => 'permission:accounts_edit', 'as' => 'edit', 'uses' => 'AccountsController@edit']);
    route::patch('{accounts}', ['middleware' => 'permission:accounts_edit', 'as' => '', 'uses' => 'AccountsController@update']);
    route::put('{accounts}', ['middleware' => 'permission:accounts_edit', 'as' => 'update', 'uses' => 'AccountsController@update']);
    // Access to delete object
    route::delete('/{accounts}', ['middleware' => 'permission:accounts_delete', 'as' => 'destroy', 'uses' => 'AccountsController@destroy']);
});
开发者ID:yoimbert,项目名称:AbuseIO,代码行数:27,代码来源:SettingsAccounts.php

示例7: function

 | and give it the controller to call when that URI is requested.
 |
*/
Route::get('/', function () {
    return View::make('index_site');
});
Route::get('/players', 'PlayerController@index');
Route::post('/players', 'Auth\\AuthController@postRegister');
Route::get('/players/{id}', 'PlayerController@show');
Route::get('/units', 'UnitController@index');
Route::get('/armies', 'ArmyController@index');
Route::get('/armies/{id}/fight', 'ArmyController@attack');
Route::get('/armies/{id}', 'ArmyController@show');
Route::put('/armies/{id}', 'ArmyController@update');
Route::put('/armies/{id}/buyUnits', 'ArmyController@buyUnits');
route::put('/armies/{id}/move', 'ArmyController@move');
Route::get('/buildings', 'BuildingController@index');
Route::get('/buildings/{id}', 'BuildingController@show');
Route::post('/cities', 'CityController@store');
Route::get('/cities', 'CityController@index');
Route::get('/cities/{id}', 'CityController@show');
Route::get('/cities/{id}/get_buildings', 'CityController@getBuildingsForCity');
Route::put('/cities/{id}', 'CityController@update');
Route::get('/population', 'PopulationController@index');
Route::put('/population/{id}', 'PopulationController@update');
Route::get('/population/{id}', 'PopulationController@show');
Route::get('/test', 'TestController@index');
//Route::get('/test2', 'TestController@recount');
Route::get('/test3', 'TestController@generateMap');
Route::get('/test4', 'TestController@getMap');
Route::get('/test5', 'TestController@push');
开发者ID:PetrKonecny,项目名称:web_game,代码行数:31,代码来源:routes.php

示例8: function

<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
Route::get('/', function () {
    return view('welcome');
});
route::get('client', 'ClientController@index');
route::post('client', 'ClientController@store');
route::get('client/{id}', 'ClientController@show');
route::delete('client/{id}', 'ClientController@destroy');
route::put('client/{id}', 'ClientController@update');
开发者ID:josealvjunior,项目名称:CrudLaravel,代码行数:20,代码来源:routes.php

示例9: function

<?php

Route::resource('notes', 'NotesController');
Route::model('notes', 'AbuseIO\\Models\\Note');
Route::group(['prefix' => 'notes', 'as' => 'notes.'], function () {
    // Access to index list
    route::get('', ['middleware' => 'permission:notes_view', 'as' => 'index', 'uses' => 'NotesController@index']);
    // Access to show object
    route::get('{notes}', ['middleware' => 'permission:notes_view', 'as' => 'show', 'uses' => 'NotesController@show']);
    // Access to create object
    route::get('create', ['middleware' => 'permission:notes_create', 'as' => 'create', 'uses' => 'NotesController@create']);
    route::post('', ['middleware' => 'permission:notes_create', 'as' => 'store', 'uses' => 'NotesController@store']);
    // Access to edit object
    route::get('{notes}/edit', ['middleware' => 'permission:notes_edit', 'as' => 'edit', 'uses' => 'NotesController@edit']);
    route::patch('{notes}', ['middleware' => 'permission:notes_edit', 'as' => 'update', 'uses' => 'NotesController@update']);
    route::put('{notes}', ['middleware' => 'permission:notes_edit', 'as' => 'update', 'uses' => 'NotesController@update']);
    // Access to delete object
    route::delete('/{notes}', ['middleware' => 'permission:notes_delete', 'as' => 'destroy', 'uses' => 'NotesController@destroy']);
});
开发者ID:yoimbert,项目名称:AbuseIO,代码行数:19,代码来源:Notes.php

示例10: function

<?php

Route::resource('netblocks', 'NetblocksController');
Route::model('netblocks', 'AbuseIO\\Models\\Netblock');
Route::group(['prefix' => 'netblocks', 'as' => 'netblocks.'], function () {
    // Search netblock
    Route::get('search/{one?}/{two?}/{three?}', ['middleware' => 'permission:netblocks_view', 'as' => 'search', 'uses' => 'NetblocksController@search']);
    // Access to index list
    route::get('', ['middleware' => 'permission:netblocks_view', 'as' => 'index', 'uses' => 'NetblocksController@index']);
    // Access to show object
    route::get('{netblocks}', ['middleware' => 'permission:netblocks_view', 'as' => 'show', 'uses' => 'NetblocksController@show']);
    // Access to export object
    route::get('export/{format}', ['middleware' => 'permission:netblocks_export', 'as' => 'export', 'uses' => 'NetblocksController@export']);
    // Access to create object
    route::get('create', ['middleware' => 'permission:netblocks_create', 'as' => 'create', 'uses' => 'NetblocksController@create']);
    route::post('', ['middleware' => 'permission:netblocks_create', 'as' => 'store', 'uses' => 'NetblocksController@store']);
    // Access to edit object
    route::get('{netblocks}/edit', ['middleware' => 'permission:netblocks_edit', 'as' => 'edit', 'uses' => 'NetblocksController@edit']);
    route::patch('{netblocks}', ['middleware' => 'permission:netblocks_edit', 'as' => 'update', 'uses' => 'NetblocksController@update']);
    route::put('{netblocks}', ['middleware' => 'permission:netblocks_edit', 'as' => 'update', 'uses' => 'NetblocksController@update']);
    // Access to delete object
    route::delete('/{netblocks}', ['middleware' => 'permission:netblocks_delete', 'as' => 'destroy', 'uses' => 'NetblocksController@destroy']);
});
开发者ID:ihatehandles,项目名称:AbuseIO,代码行数:23,代码来源:Netblocks.php

示例11: function

<?php

Route::resource('profile', 'ProfileController');
Route::group(['prefix' => 'profile', 'as' => 'profile.'], function () {
    // Access to index list
    route::get('', ['middleware' => 'permission:profile_manage', 'as' => 'index', 'uses' => 'ProfileController@edit']);
    // Access to edit object
    route::patch('{profile}', ['middleware' => 'permission:profile_manage', 'as' => 'update', 'uses' => 'ProfileController@update']);
    route::put('{profile}', ['middleware' => 'permission:profile_manage', 'as' => 'update', 'uses' => 'ProfileController@update']);
});
开发者ID:ihatehandles,项目名称:AbuseIO,代码行数:10,代码来源:Profile.php

示例12: function

|
*/
Route::get('/', function () {
    return view('app');
});
Route::post('oauth/access_token', function () {
    return Response::json(Authorizer::issueAccessToken());
});
Route::group(['middleware' => 'oauth'], function () {
    Route::resource('client', 'ClientController', ['except' => 'create', 'edit', 'show']);
    Route::resource('projects', 'ProjectsController', ['except' => 'create', 'edit']);
    Route::group(['prefix' => 'projects'], function () {
        route::get('{id}/notes', 'ProjectNotesController@index');
        route::post('{id}/notes', 'ProjectNotesController@store');
        route::get('{id}/notes/{noteId}', 'ProjectNotesController@show');
        route::put('{id}/notes/{noteId}', 'ProjectNotesController@update');
        route::delete('{id}/notes/{noteId}', 'ProjectNotesController@destroy');
        route::get('{id}/task', 'ProjectTaskController@index');
        route::post('{id}/task', 'ProjectTaskController@store');
        route::get('{id}/task/{taskId}', 'ProjectTaskController@show');
        route::put('{id}/task/{taskId}', 'ProjectTaskController@update');
        route::delete('{id}/task/{taskId}', 'ProjectTaskController@destroy');
        route::get('{id}/members', 'ProjectMembersController@index');
        route::post('{id}/members', 'ProjectMembersController@store');
        route::get('{id}/members/{membersId}', 'ProjectMembersController@isMember');
        route::put('{id}/members/{membersId}', 'ProjectMembersController@update');
        route::delete('{id}/members/{membersId}', 'ProjectMembersController@destroy');
        Route::post('{id}/file', 'ProjectFileController@store');
        Route::delete('{id}/file/{projectFileId}', 'ProjectFileController@destroy');
    });
});
开发者ID:josealvjunior,项目名称:CorrecaoPrimeirosCRUD,代码行数:31,代码来源:routes.php

示例13: function

| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
Route::get('/', function () {
    return view('welcome');
});
// Route::group(['prefix'=> 'admin', 'where' => ['id' => '[0-9]+']], function () {
//
//    Route::get('categories/{id}', ['as'=> 'categories', 'uses'=> 'AdminCategoriesController@index']);
//
//    Route::get('products/{id}', ['as'=> 'products', 'uses'=> 'AdminProductsController@index']);
// });
Route::group(['prefix' => 'admin'], function () {
    route::get('categories', ['as' => 'categories', 'uses' => 'CategoriesController@index']);
    route::post('categories', ['as' => 'categories.store', 'uses' => 'CategoriesController@store']);
    route::get('categories/create', ['as' => 'categories.create', 'uses' => 'CategoriesController@create']);
    route::get('categories/{id}/edit', ['as' => 'categories.edit', 'uses' => 'CategoriesController@edit']);
    route::put('categories/{id}/update', ['as' => 'categories.update', 'uses' => 'CategoriesController@update']);
    route::get('categories/{id}/destroy', ['as' => 'categories.destroy', 'uses' => 'CategoriesController@destroy']);
    route::get('products', ['as' => 'products', 'uses' => 'ProductsController@index']);
    route::post('products', ['as' => 'products.store', 'uses' => 'ProductsController@store']);
    route::get('products/create', ['as' => 'products.create', 'uses' => 'ProductsController@create']);
    route::get('products/{id}/edit', ['as' => 'products.edit', 'uses' => 'ProductsController@edit']);
    route::put('products/{id}/update', ['as' => 'products.update', 'uses' => 'ProductsController@update']);
    route::get('products/{id}/destroy', ['as' => 'products.destroy', 'uses' => 'ProductsController@destroy']);
});
开发者ID:estevamneto,项目名称:Code-Commerce3-1,代码行数:31,代码来源:routes.php

示例14: function

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
Route::get('/', function () {
    return view('welcome');
});
// Route::group(['prefix'=> 'admin', 'where' => ['id' => '[0-9]+']], function () {
//
//    Route::get('categories/{id}', ['as'=> 'categories', 'uses'=> 'AdminCategoriesController@index']);
//
//    Route::get('products/{id}', ['as'=> 'products', 'uses'=> 'AdminProductsController@index']);
// });
route::get('categories', ['as' => 'categories', 'uses' => 'CategoriesController@index']);
route::post('categories', ['as' => 'categories.store', 'uses' => 'CategoriesController@store']);
route::get('categories/create', ['as' => 'categories.create', 'uses' => 'CategoriesController@create']);
route::get('categories/{id}/edit', ['as' => 'categories.edit', 'uses' => 'CategoriesController@edit']);
route::put('categories/{id}/update', ['as' => 'categories.update', 'uses' => 'CategoriesController@update']);
route::get('categories/{id}/destroy', ['as' => 'categories.destroy', 'uses' => 'CategoriesController@destroy']);
route::get('products', 'ProductsController@index');
route::get('products/create', 'ProductsController@create');
route::get('products/edit', 'ProductsController@edit');
route::get('products/update', 'ProductsController@update');
route::get('products/destroy', 'ProductsController@destroy');
开发者ID:estevamneto,项目名称:Code-Commerce4,代码行数:30,代码来源:routes.php

示例15: function

 });
 Route::group(['prefix' => 'SubAccount'], function () {
     Route::get('/', 'SubAccountController@getAccountTitles');
     Route::get('/getNorms', 'SubAccountController@getNorms');
     Route::get('/getAcctTypes', 'SubAccountController@getAcctTypes');
     Route::get('/getFunds', 'SubAccountController@getFunds');
     Route::get('/getFinStatements', 'SubAccountController@getFinStatements');
     Route::post('/', 'SubAccountController@createSubAcct');
 });
 Route::group(['prefix' => 'Assets'], function () {
     Route::get('/getCategories', 'AssetController@getCategories');
     // Route::get('/','AssetController@getPeriods');
     Route::post('/', 'AssetController@createAsset');
     Route::get('/', 'AssetController@getAssets');
     Route::get('/{id}', 'AssetController@getAssetItem');
     route::put('/{id}', 'AssetController@updateFA');
 });
 Route::group(['prefix' => 'Balance'], function () {
     Route::get('/', 'BeginBalController@getAcctTitles');
     Route::post('/', 'BeginBalController@createBeginBal');
 });
 Route::group(['prefix' => 'CDV'], function () {
     Route::get('/', 'CDVController@getCDV');
     Route::get('/getBanks', 'CDVController@getBanks');
     Route::get('/getAcctTitles', 'CDVController@getAcctTitles');
     Route::get('/getCDVByID/{id}', 'CDVController@getCDVByID');
     Route::get('/getCDVDetails/{id}', 'CDVController@getCDVDetails');
     Route::get('/getCDVEntries/{id}', 'CDVController@getCDVEntries');
     Route::get('/getCDVNum', 'CDVController@getCDVNum');
     Route::post('/', 'CDVController@createCDV');
     Route::get('/previewCDV/{id}', 'CDVController@previewCDV');
开发者ID:nicegal17,项目名称:Accounting-System,代码行数:31,代码来源:routes.php


注:本文中的route::put方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。