// +---------------------------------------------------------------------- use think\facade\Route; Route::group('miniapi', function () { Route::get('index/home', 'Index/home'); Route::get('index/about', 'Index/about'); Route::get('index/legal', 'Index/legal'); Route::get('index/packages', 'Index/packages'); Route::get('index/countries', 'Index/countries'); Route::post('auth/sendSms', 'Auth/sendSms'); Route::post('auth/login', 'Auth/login'); Route::post('auth/wxPhoneLogin', 'Auth/wxPhoneLogin'); Route::get('auth/me', 'Auth/me'); Route::get('news/lists', 'News/lists'); Route::get('news/detail', 'News/detail'); Route::get('help/faqs', 'Help/faqs'); Route::get('order/lists', 'Order/lists'); Route::get('order/detail', 'Order/detail'); Route::post('order/pay', 'Order/pay'); Route::get('ocr/signature', 'Ocr/signature'); Route::post('upload/image', 'Upload/image'); Route::post('evus/lookup', 'Evus/lookup'); Route::post('evus/apply', 'Evus/apply'); Route::post('esta/apply', 'Esta/apply'); })->namespace('app\\miniapi\\controller');