This commit is contained in:
zimoyin
2026-04-02 17:42:00 +08:00
parent ac95dbb1c8
commit 4c841b9dbf
963 changed files with 347242 additions and 354 deletions
+13
View File
@@ -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']);