fix pictures 5

This commit is contained in:
2026-06-29 20:16:28 +03:30
parent 9c7f44024d
commit b0ac2c7862
3 changed files with 78 additions and 1 deletions
+5
View File
@@ -1,5 +1,6 @@
<?php
use App\Http\Controllers\PublicStorageController;
use App\Models\Customer;
use App\Models\Product;
use App\Services\ProductPriceService;
@@ -15,6 +16,10 @@ use App\Http\Controllers\pay\PaymanController;
use App\Models\Message;
use Illuminate\Http\Request;
// وقتی public/storage symlink نیست یا فایل تازه فقط در storage/app/public است
Route::get('storage/{path}', [PublicStorageController::class, 'show'])
->where('path', '.*');
Route::get('/refPricer', function () {
$ok = app(\App\Services\ProductPriceSyncService::class)->syncAll(true);