'api'], function () { Route::post('LoginAction', 'Auth\AuthController@LoginAccountActionPost'); Route::post('ActionBanAccountUseHack', 'Auth\AntiHackController@ActionBanAccountUseHack'); Route::post('RegisterAction', 'Auth\AuthController@RegisterAccountActionPost'); Route::get('GetAllCharacters', 'CharController@GetAllCharacters'); Route::get('GetUserCharacters/{username}', 'CharController@GetUserCharacters'); Route::get('GetCharacterData/{char_id}/{table_name}', 'CharController@GetCharacterData'); Route::post('UpdateCharacterData/{char_id}/{table_name}', 'CharController@UpdateCharacterData'); Route::post('SendItemToCharacter', 'CharController@SendItemToCharacter'); // Получение и обновление предмета по char_item_id в нужной таблице Route::get('GetCharItem/{table}/{char_item_id}', 'CharController@GetCharItem'); Route::post('UpdateCharItem/{table}/{char_item_id}', 'CharController@UpdateCharItem'); // Получение и обновление квеста по char_id и RecId, {table?} — опционально, по умолчанию CharQuest Route::get('GetCharQuest/{char_id}/{rec_id}/{table?}', 'CharController@GetCharQuest'); Route::post('UpdateCharQuest/{char_id}/{rec_id}/{table?}', 'CharController@UpdateCharQuest'); Route::group(['prefix' => 'funcs_adm'], function () { Route::get('UpdateCharItemAccount/{CharID?}', 'ADMIN\AdminController@UpdateCharItemAccount'); Route::get('CheckCharItemAccount/{CharID?}/{StrRecordKind?}', 'ADMIN\AdminController@CheckCharItemAccount'); Route::post('SendItemForAccount', 'ADMIN\AdminController@SendItemForAccount'); Route::get('GetAccountsSpecialChar', 'ADMIN\AdminController@GetAccountsSpecialChar'); Route::get('GetPCID', 'ADMIN\\AdminController@GetPCID'); }); }); Route::group(['prefix' => 'nexon'], function () { Route::get('loginCheck/loginCheck', 'Auth\AuthController@LoginAccountCheck'); Route::post('inquiryBalance/json', 'Cash\CashShopController@inquiryBalance'); Route::post('nexonCash/charge/json', 'Cash\CashShopController@nexonCash'); Route::post('purchaseItem/json', 'Cash\CashShopController@purchaseItem'); });