Files
miniapi/route/app.php
gaofeng 4320b80426 提交
2026-06-17 16:56:29 +08:00

43 lines
1.7 KiB
PHP

<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
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::post('order/addInvoice', 'Order/addInvoice');
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');