feat:module new feat

This commit is contained in:
JaguarJack
2023-01-16 18:19:23 +08:00
parent 05bb360129
commit ed10349317
5 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
use Illuminate\Support\Facades\Route;
use Modules\Common\Http\Controllers\OptionController;
use Modules\Common\Http\Controllers\UploadController;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route::get('options/{name}', [OptionController::class, 'index']);
Route::post('upload/file', [UploadController::class, 'file']);
Route::post('upload/image', [UploadController::class, 'image']);