init
This commit is contained in:
@@ -14,6 +14,19 @@
|
||||
|
||||
use Webman\Route;
|
||||
|
||||
// 页面路由 - 重定向到静态HTML
|
||||
Route::get('/', [app\controller\IndexController::class, 'index']);
|
||||
Route::get('/roi', [app\controller\IndexController::class, 'roi']);
|
||||
|
||||
// API路由
|
||||
Route::get('/streams', [app\controller\IndexController::class, 'streams']);
|
||||
Route::get('/status', [app\controller\IndexController::class, 'status']);
|
||||
Route::get('/getRoi', [app\controller\IndexController::class, 'getRoi']);
|
||||
Route::post('/saveRoi', [app\controller\IndexController::class, 'saveRoi']);
|
||||
|
||||
// ZLM截图代理
|
||||
Route::get('/proxy/zlm/snap', [app\controller\IndexController::class, 'proxyZlmSnap']);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user