first commit

This commit is contained in:
2026-01-18 09:52:48 +08:00
commit 836bdc9409
584 changed files with 40891 additions and 0 deletions

24
routes/api.php Normal file
View File

@@ -0,0 +1,24 @@
<?php
// +----------------------------------------------------------------------
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2024 http://www.tensent.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------
use Illuminate\Support\Facades\Route;
Route::name('system.')->prefix('system')->middleware(['auth.check:api'])->group(function () {
Route::controller(Modules\System\Controllers\Api\Area::class)->prefix('area')->name('area.')->group(function () {
Route::get('/', 'index')->name('lists');
});
Route::controller(Modules\System\Controllers\Api\Index::class)->prefix('index')->name('index.')->group(function () {
Route::get('/qrcode', 'qrcode')->name('qrcode');
});
Route::controller(Modules\System\Controllers\Api\Wechat::class)->prefix('wechat')->name('wechat.')->group(function () {
Route::get('/serve', 'serve')->name('serve');
Route::post('/jssdk', 'jssdk')->name('jssdk');
});
});
// 记账相关路由已迁移到 modules/Account/routes/api.php