feat:系统模块初始化

This commit is contained in:
JaguarJack
2023-05-15 13:23:32 +08:00
parent b8c4c90da7
commit 2a6d65d4e7
13 changed files with 812 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?php
use Illuminate\Support\Facades\Route;
use Modules\System\Http\Controllers\DictionaryController;
use Modules\System\Http\Controllers\DictionaryValuesController;
Route::prefix('system')->group(function(){
Route::apiResource('dictionary', DictionaryController::class);
Route::put('dictionary/enable/{id}', [DictionaryController::class, 'enable']);
Route::apiResource('dic/values', DictionaryValuesController::class);
Route::put('dic/values/enable/{id}', [DictionaryValuesController::class, 'enable']);
//next
});