<?php // route/app.php Route::get('apidoc/config', "\\hg\\apidoc\\Controller@getConfig"); Route::get('apidoc/data', "\\hg\\apidoc\\Controller@getList"); Route::post('apidoc/auth', "\\hg\\apidoc\\Controller@verifyAuth");