Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
2026-02-09 21:32:55 +09:00
5 changed files with 1128 additions and 0 deletions

View File

@@ -31,6 +31,7 @@
use App\Http\Controllers\RoleController;
use App\Http\Controllers\RolePermissionController;
use App\Http\Controllers\Sales\SalesProductController;
use App\Http\Controllers\Juil\ConstructionSitePhotoController;
use App\Http\Controllers\Juil\PlanningController;
use App\Http\Controllers\Stats\StatDashboardController;
use App\Http\Controllers\System\AiConfigController;
@@ -1312,4 +1313,17 @@
Route::middleware('auth')->prefix('juil')->name('juil.')->group(function () {
Route::get('/estimate', [PlanningController::class, 'estimate'])->name('estimate');
Route::get('/project', [PlanningController::class, 'project'])->name('project');
// 공사현장 사진대지
Route::prefix('construction-photos')->name('construction-photos.')->group(function () {
Route::get('/', [ConstructionSitePhotoController::class, 'index'])->name('index');
Route::get('/list', [ConstructionSitePhotoController::class, 'list'])->name('list');
Route::get('/{id}', [ConstructionSitePhotoController::class, 'show'])->name('show');
Route::post('/', [ConstructionSitePhotoController::class, 'store'])->name('store');
Route::post('/{id}/upload', [ConstructionSitePhotoController::class, 'uploadPhoto'])->name('upload');
Route::put('/{id}', [ConstructionSitePhotoController::class, 'update'])->name('update');
Route::delete('/{id}', [ConstructionSitePhotoController::class, 'destroy'])->name('destroy');
Route::delete('/{id}/photo/{type}', [ConstructionSitePhotoController::class, 'deletePhoto'])->name('delete-photo');
Route::get('/{id}/download/{type}', [ConstructionSitePhotoController::class, 'downloadPhoto'])->name('download');
});
});