withoutMiddleware(['throttle:api']); if (! app(ConfigService::class)->isStore()) { $priceStreamRoute->middleware(['auth:customer', 'customer.active']); } Route::get('/price/updatePrise',[ReportController::class, 'updatePrise']); Route::get('/const/key/{key}',[ConstController::class, 'showValue']); Route::get('/check',[ReportController::class, 'check']); Route::get('/test',[ReportController::class, 'test']); Route::post('price_triggers/table', [PriceTriggerController::class, 'table']); //-----city Route::get('/city/state',[CityController::class, 'stateList']); Route::get('/city/all',[CityController::class, 'cityListAll']); Route::get('/city/{state_id}',[CityController::class, 'cityList']); Route::get('get_settings',[SettingsController::class, 'index']); if (app(ConfigService::class)->getBool('external_order_api_enabled', false)) { Route::middleware('request.validation')->group(function () { Route::post('get_wallet', [RequestsController::class, 'getWallet']); Route::post('order', [RequestsController::class, 'order']); }); } // فروشگاه (قطره / کشکول) — مثل برنچ ghatre، بدون لاگین if (app(ConfigService::class)->isStore()) { Route::get('/cart', [CartController::class, 'getCart']); Route::post('/cart/add', [CartController::class, 'addItem']); Route::post('/cart/remove', [CartController::class, 'removeItem']); Route::get('categories', [CategoryController::class, 'clientIndex']); }