group(function () { Route::post('/update', 'step0')->name('update'); Route::get('/update/step1', 'step1')->name('update.step1'); Route::get('/update/step2', 'step2')->name('update.step2'); }); Route::get('/admin', [AdminController::class, 'admin_dashboard'])->name('admin.dashboard')->middleware(['auth', 'admin']); Route::group(['prefix' => 'admin', 'middleware' => ['auth', 'admin']], function () { Route::post('/admin-wallet-recharge-modal', [ManualPaymentMethodController::class, 'admin_recharge_modal'])->name('admin.admin_wallet_recharge_modal');//管理员充值 Route::post('/admin-offline-wallet-recharge', [WalletController::class, 'offline_recharge'])->name('admin_wallet_recharge.make_payment'); // category Route::resource('categories', CategoryController::class); Route::controller(CategoryController::class)->group(function () { Route::get('/categories/edit/{id}', 'edit')->name('categories.edit'); Route::get('/categories/destroy/{id}', 'destroy')->name('categories.destroy'); Route::post('/categories/featured', 'updateFeatured')->name('categories.featured'); }); // Brand Route::resource('brands', BrandController::class); Route::controller(BrandController::class)->group(function () { Route::get('/brands/edit/{id}', 'edit')->name('brands.edit'); Route::get('/brands/destroy/{id}', 'destroy')->name('brands.destroy'); }); // Products Route::controller(ProductController::class)->group(function () { Route::get('/products/admin', 'admin_products')->name('products.admin'); Route::get('/products/seller', 'seller_products')->name('products.seller'); Route::get('/products/all', 'all_products')->name('products.all'); Route::get('/products/create', 'create')->name('products.create'); Route::get('/products/gather', 'gather')->name('products.gather'); Route::get('/products/twcaiji', 'twcaiji')->name('products.twcaiji'); Route::get('/products/encaiji', 'encaiji')->name('products.encaiji'); Route::get('/products/thcaiji', 'thcaiji')->name('products.thcaiji'); Route::post('/products/store/', 'store')->name('products.store'); Route::get('/products/admin/{id}/edit', 'admin_product_edit')->name('products.admin.edit'); Route::get('/products/seller/{id}/edit', 'seller_product_edit')->name('products.seller.edit'); Route::post('/products/update/{product}', 'update')->name('products.update'); Route::post('/products/todays_deal', 'updateTodaysDeal')->name('products.todays_deal'); Route::post('/products/featured', 'updateFeatured')->name('products.featured'); Route::post('/products/published', 'updatePublished')->name('products.published'); Route::post('/products/approved', 'updateProductApproval')->name('products.approved'); Route::post('/products/get_products_by_subcategory', 'get_products_by_subcategory')->name('products.get_products_by_subcategory'); Route::get('/products/duplicate/{id}', 'duplicate')->name('products.duplicate'); Route::get('/products/destroy/{id}', 'destroy')->name('products.destroy'); Route::post('/bulk-product-delete', 'bulk_product_delete')->name('bulk-product-delete'); Route::post('/products/sku_combination', 'sku_combination')->name('products.sku_combination'); Route::post('/products/sku_combination_edit', 'sku_combination_edit')->name('products.sku_combination_edit'); Route::post('/products/add-more-choice-option', 'add_more_choice_option')->name('products.add-more-choice-option'); }); // Products Storehouse Route::controller(ProductStorehouseController::class)->group(function () { Route::get('/product/storehouse', 'index')->name('product_storehouse.index'); Route::post('/product/storehouse/bulk-product-storehouse-update', 'product_storehouse_update')->name('product-storehouse-update'); Route::get('/product/storehouse/bulk-product-storehouse-move-out/{id}', 'product_storehouse_move_out')->name('product-storehouse-move-out')->where('id', '[0-9]+'); Route::get('/product/storehouse/product-storehouse-order-free-up/{id}', 'product_storehouse_order_free_up')->name('product-storehouse-order-free-up')->where('id', '[0-9]+'); Route::post('/product/storehouse/bulk-product-storehouse-add', 'bulk_product_storehouse_add')->name('bulk-product-storehouse-add'); }); // Products Collect' Route::controller(ProductCollectController::class)->group(function () { Route::get('/product/collect', 'index')->name('product_collect.index'); Route::get('/product/ids', 'ids')->name('product_collect.ids'); Route::get('/product/data', 'data')->name('product_collect.data'); Route::post('/product/collect/bulk-product-collect-update', 'product_collect_update')->name('product-collect-update'); Route::get('/product/collect/bulk-product-collect-move-out/{id}', 'product_collect_move_out')->name('product-collect-move-out')->where('id', '[0-9]+'); Route::get('/product/collect/product-collect-order-free-up/{id}', 'product_collect_order_free_up')->name('product-collect-order-free-up')->where('id', '[0-9]+'); Route::post('/product/collect/bulk-product-collect-add', 'bulk_product_collect_add')->name('bulk-product-collect-add'); }); // Digital Product Route::resource('digitalproducts', DigitalProductController::class); Route::controller(DigitalProductController::class)->group(function () { Route::get('/digitalproducts/edit/{id}', 'edit')->name('digitalproducts.edit'); Route::get('/digitalproducts/destroy/{id}', 'destroy')->name('digitalproducts.destroy'); Route::get('/digitalproducts/download/{id}', 'download')->name('digitalproducts.download'); }); Route::controller(ProductBulkUploadController::class)->group(function () { //Product Export Route::get('/product-bulk-export', 'export')->name('product_bulk_export.index'); //Product Bulk Upload Route::get('/product-bulk-upload/index', 'index')->name('product_bulk_upload.index'); Route::post('/bulk-product-upload', 'bulk_upload')->name('bulk_product_upload'); Route::get('/product-csv-download/{type}', 'import_product')->name('product_csv.download'); Route::get('/vendor-product-csv-download/{id}', 'import_vendor_product')->name('import_vendor_product.download'); Route::group(['prefix' => 'bulk-upload/download'], function () { Route::get('/category', 'pdf_download_category')->name('pdf.download_category'); Route::get('/brand', 'pdf_download_brand')->name('pdf.download_brand'); Route::get('/seller', 'pdf_download_seller')->name('pdf.download_seller'); }); }); // Seller Route::resource('sellers', SellerController::class); Route::controller(SellerController::class)->group(function () { Route::get('sellers_ban/{id}', 'ban')->name('sellers.ban'); Route::get('/sellers/destroy/{id}', 'destroy')->name('sellers.destroy'); Route::post('/bulk-seller-delete', 'bulk_seller_delete')->name('bulk-seller-delete'); Route::get('/sellers/view/{id}/verification', 'show_verification_request')->name('sellers.show_verification_request'); Route::get('/sellers/approve/{id}', 'approve_seller')->name('sellers.approve'); Route::get('/sellers/reject/{id}', 'reject_seller')->name('sellers.reject'); Route::get('/sellers/login/{id}', 'login')->name('sellers.login'); Route::post('/sellers/payment_modal', 'payment_modal')->name('sellers.payment_modal'); Route::post('/sellers/guarantee_money_modal', 'guarantee_money_modal')->name('sellers.guarantee_money_modal'); Route::post('/sellers/profile_modal', 'profile_modal')->name('sellers.profile_modal'); Route::post('/sellers/approved', 'updateApproved')->name('sellers.approved'); Route::post('/sellers/comment_permission', 'updateCommentPermission')->name('sellers.comment_permission'); Route::post('/sellers/home_display', 'updateHomeDisplay')->name('sellers.home_display'); Route::post('/sellers/setpackage', 'setpackage')->name('sellers.setpackage'); Route::post('/sellers/setbzj', 'setbzj')->name('sellers.setbzj'); Route::post('/sellers/setviews', 'setviews')->name('sellers.setviews'); Route::post('/sellers/setpid', 'setpid')->name('sellers.setpid'); }); // Seller Payment Route::controller(PaymentController::class)->group(function () { Route::get('/seller/payments', 'payment_histories')->name('sellers.payment_histories'); Route::get('/seller/payment_histories_cus', 'payment_histories_cus')->name('sellers.payment_histories_cus'); Route::get('/seller/payments/show/{id}', 'show')->name('sellers.payment_history'); }); // Seller Withdraw Request Route::resource('/withdraw_requests', SellerWithdrawRequestController::class); Route::controller(SellerWithdrawRequestController::class)->group(function () { Route::get('/withdraw_requests_all', 'index')->name('withdraw_requests_all'); Route::get('/withdraw_requests_all_by_user', 'index_by_user')->name('withdraw_requests_all_by_user'); Route::get('/withdraw_requests_by_customer', 'index_by_customer')->name('withdraw_requests_by_customer'); Route::post('/withdraw_request/payment_modal', 'payment_modal')->name('withdraw_request.payment_modal'); Route::post('/withdraw_request/payment_modal_user', 'payment_modal_user')->name('withdraw_request.payment_modal_user'); Route::post('/withdraw_request/message_modal', 'message_modal')->name('withdraw_request.message_modal'); Route::any('/withdraw_request/refuse_modal', 'refuse_modal')->name('withdraw_request.refuse_modal'); }); // Customer Route::resource('customers', CustomerController::class); Route::controller(CustomerController::class)->group(function () { Route::any('/customers/create_virtual_user', 'create_virtual_user')->name('customers.create_virtual_user'); Route::get('customers_ban/{customer}', 'ban')->name('customers.ban'); Route::get('/customers/login/{id}', 'login')->name('customers.login'); Route::get('/customers/destroy/{id}', 'destroy')->name('customers.destroy'); Route::post('/bulk-customer-delete', 'bulk_customer_delete')->name('bulk-customer-delete'); }); Route::resource('salesmans', SalesmanController::class); Route::controller(SalesmanController::class)->group(function () { Route::get('salesmans_ban/{customer}', 'ban')->name('salesmans.ban'); Route::get('/salesmans/login/{id}', 'login')->name('salesmans.login'); Route::get('/salesmans/destroy/{id}', 'destroy')->name('salesmans.destroy'); Route::post('/bulk-salesman-delete', 'bulk_salesman_delete')->name('bulk-salesman-delete'); }); // Newsletter Route::controller(NewsletterController::class)->group(function () { Route::get('/newsletter', 'index')->name('newsletters.index'); Route::post('/newsletter/send', 'send')->name('newsletters.send'); Route::post('/newsletter/test/smtp', 'testEmail')->name('test.smtp'); }); Route::resource('profile', ProfileController::class); // Business Settings Route::controller(BusinessSettingsController::class)->group(function () { Route::post('/business-settings/update', 'update')->name('business_settings.update'); Route::post('/business-settings/update2', 'update2')->name('business_settings.update2'); Route::post('/business-settings/update/activation', 'updateActivationSettings')->name('business_settings.update.activation'); Route::get('/general-setting', 'general_setting')->name('general_setting.index'); Route::get('/activation', 'activation')->name('activation.index'); Route::get('/payment-method', 'payment_method')->name('payment_method.index'); Route::get('/file_system', 'file_system')->name('file_system.index'); Route::get('/social-login', 'social_login')->name('social_login.index'); Route::get('/smtp-settings', 'smtp_settings')->name('smtp_settings.index'); Route::get('/google-analytics', 'google_analytics')->name('google_analytics.index'); Route::get('/google-recaptcha', 'google_recaptcha')->name('google_recaptcha.index'); Route::get('/google-map', 'google_map')->name('google-map.index'); Route::get('/google-firebase', 'google_firebase')->name('google-firebase.index'); //Facebook Settings Route::get('/facebook-chat', 'facebook_chat')->name('facebook_chat.index'); Route::post('/facebook_chat', 'facebook_chat_update')->name('facebook_chat.update'); Route::get('/facebook-comment', 'facebook_comment')->name('facebook-comment'); Route::post('/facebook-comment', 'facebook_comment_update')->name('facebook-comment.update'); Route::post('/facebook_pixel', 'facebook_pixel_update')->name('facebook_pixel.update'); Route::post('/env_key_update', 'env_key_update')->name('env_key_update.update'); Route::post('/payment_method_update', 'payment_method_update')->name('payment_method.update'); Route::post('/google_analytics', 'google_analytics_update')->name('google_analytics.update'); Route::post('/google_recaptcha', 'google_recaptcha_update')->name('google_recaptcha.update'); Route::post('/google-map', 'google_map_update')->name('google-map.update'); Route::post('/google-firebase', 'google_firebase_update')->name('google-firebase.update'); Route::get('/verification/form', 'seller_verification_form')->name('seller_verification_form.index'); Route::post('/verification/form', 'seller_verification_form_update')->name('seller_verification_form.update'); Route::get('/vendor_commission', 'vendor_commission')->name('business_settings.vendor_commission'); Route::post('/vendor_commission_update', 'vendor_commission_update')->name('business_settings.vendor_commission.update'); //Shipping Configuration Route::get('/shipping_configuration', 'shipping_configuration')->name('shipping_configuration.index'); Route::post('/shipping_configuration/update', 'shipping_configuration_update')->name('shipping_configuration.update'); // Order Configuration Route::get('/order-configuration', 'order_configuration')->name('order_configuration.index'); }); //Currency Route::controller(CurrencyController::class)->group(function () { Route::get('/currency', 'currency')->name('currency.index'); Route::post('/currency/update', 'updateCurrency')->name('currency.update'); Route::post('/your-currency/update', 'updateYourCurrency')->name('your_currency.update'); Route::get('/currency/create', 'create')->name('currency.create'); Route::post('/currency/store', 'store')->name('currency.store'); Route::post('/currency/currency_edit', 'edit')->name('currency.edit'); Route::post('/currency/update_status', 'update_status')->name('currency.update_status'); }); //Tax Route::resource('tax', TaxController::class); Route::controller(TaxController::class)->group(function () { Route::get('/tax/edit/{id}', 'edit')->name('tax.edit'); Route::get('/tax/destroy/{id}', 'destroy')->name('tax.destroy'); Route::post('tax-status', 'change_tax_status')->name('taxes.tax-status'); }); // Language Route::resource('/languages', LanguageController::class); Route::controller(LanguageController::class)->group(function () { Route::post('/languages/{id}/update', 'update')->name('languages.update'); Route::get('/languages/destroy/{id}', 'destroy')->name('languages.destroy'); Route::post('/languages/update_rtl_status', 'update_rtl_status')->name('languages.update_rtl_status'); Route::post('/languages/update-status', 'update_status')->name('languages.update-status'); Route::post('/languages/key_value_store', 'key_value_store')->name('languages.key_value_store'); //App Trasnlation Route::post('/languages/app-translations/import', 'importEnglishFile')->name('app-translations.import'); Route::get('/languages/app-translations/show/{id}', 'showAppTranlsationView')->name('app-translations.show'); Route::post('/languages/app-translations/key_value_store', 'storeAppTranlsation')->name('app-translations.store'); Route::get('/languages/app-translations/export/{id}', 'exportARBFile')->name('app-translations.export'); }); // website setting Route::group(['prefix' => 'website'], function () { Route::controller(WebsiteController::class)->group(function () { Route::get('/footer', 'footer')->name('website.footer'); Route::get('/header', 'header')->name('website.header'); Route::get('/appearance', 'appearance')->name('website.appearance'); Route::get('/pages', 'pages')->name('website.pages'); Route::get('/guarantee', 'guarantee')->name('website.guarantee'); }); // Custom Page Route::resource('custom-pages', PageController::class); Route::controller(PageController::class)->group(function () { Route::get('/custom-pages/edit/{id}', 'edit')->name('custom-pages.edit'); Route::get('/custom-pages/destroy/{id}', 'destroy')->name('custom-pages.destroy'); }); }); // Staff Roles Route::resource('roles', RoleController::class); Route::controller(RoleController::class)->group(function () { Route::get('/roles/edit/{id}', 'edit')->name('roles.edit'); Route::get('/roles/destroy/{id}', 'destroy')->name('roles.destroy'); }); // Staff Route::resource('staffs', StaffController::class); Route::get('/staffs/destroy/{id}', [StaffController::class, 'destroy'])->name('staffs.destroy'); // Flash Deal Route::resource('flash_deals', FlashDealController::class); Route::controller(FlashDealController::class)->group(function () { Route::get('/flash_deals/edit/{id}', 'edit')->name('flash_deals.edit'); Route::get('/flash_deals/destroy/{id}', 'destroy')->name('flash_deals.destroy'); Route::post('/flash_deals/update_status', 'update_status')->name('flash_deals.update_status'); Route::post('/flash_deals/update_featured', 'update_featured')->name('flash_deals.update_featured'); Route::post('/flash_deals/product_discount', 'product_discount')->name('flash_deals.product_discount'); Route::post('/flash_deals/product_discount_edit', 'product_discount_edit')->name('flash_deals.product_discount_edit'); }); //Subscribers Route::controller(SubscriberController::class)->group(function () { Route::get('/subscribers', 'index')->name('subscribers.index'); Route::get('/subscribers/destroy/{id}', 'destroy')->name('subscriber.destroy'); }); // Order Route::resource('orders', OrderController::class); Route::controller(OrderController::class)->group(function () { // All Orders Route::get('/all_orders', 'all_orders')->name('all_orders.index'); Route::get('/all_orders/{id}/show', 'all_orders_show')->name('all_orders.show'); // Storehouse Orders Route::get('/storehouse_orders', 'storehouse_orders')->name('storehouse_orders.index'); Route::get('/storehouse_orders/{id}/show', 'storehouse_orders_show')->name('storehouse_orders.show'); // Inhouse Orders Route::get('/inhouse-orders', 'admin_orders')->name('inhouse_orders.index'); Route::get('/inhouse-orders/{id}/show', 'show')->name('inhouse_orders.show'); // Seller Orders Route::get('/seller_orders', 'seller_orders')->name('seller_orders.index'); Route::get('/seller_orders/{id}/show', 'seller_orders_show')->name('seller_orders.show'); Route::post('/bulk-order-status', 'bulk_order_status')->name('bulk-order-status'); // Pickup point orders Route::get('orders_by_pickup_point', 'pickup_point_order_index')->name('pick_up_point.order_index'); Route::get('/orders_by_pickup_point/{id}/show', 'pickup_point_order_sales_show')->name('pick_up_point.order_show'); Route::get('/orders/destroy/{id}', 'destroy')->name('orders.destroy'); Route::post('/bulk-order-delete', 'bulk_order_delete')->name('bulk-order-delete'); Route::get('/orders/destroy/{id}', 'destroy')->name('orders.destroy'); Route::post('/orders/details', 'order_details')->name('orders.details'); Route::post('/orders/update_delivery_status', 'update_delivery_status')->name('orders.update_delivery_status'); Route::post('/orders/update_payment_status', 'update_payment_status')->name('orders.update_payment_status'); Route::post('/orders/update_tracking_code', 'update_tracking_code')->name('orders.update_tracking_code'); //Delivery Boy Assign Route::post('/orders/delivery-boy-assign', 'assign_delivery_boy')->name('orders.delivery-boy-assign'); }); Route::post('/pay_to_seller', [CommissionController::class, 'pay_to_seller'])->name('commissions.pay_to_seller'); Route::post('/pay_to_seller2', [CommissionController::class, 'pay_to_seller2'])->name('commissions.pay_to_seller2'); Route::post('/refuse', [CommissionController::class, 'refuse'])->name('commissions.refuse'); //Reports Route::controller(ReportController::class)->group(function () { Route::get('/stock_report', 'stock_report')->name('stock_report.index'); Route::get('/in_house_sale_report', 'in_house_sale_report')->name('in_house_sale_report.index'); Route::get('/seller_sale_report', 'seller_sale_report')->name('seller_sale_report.index'); Route::get('/wish_report', 'wish_report')->name('wish_report.index'); Route::get('/user_search_report', 'user_search_report')->name('user_search_report.index'); Route::get('/wallet-history', 'wallet_transaction_history')->name('wallet-history.index'); Route::get('/commission-log', 'commission_history')->name('commission-log.index'); }); //Blog Section //Blog cateory Route::resource('blog-category', BlogCategoryController::class); Route::get('/blog-category/destroy/{id}', [BlogCategoryController::class, 'destroy'])->name('blog-category.destroy'); // Blog Route::resource('blog', BlogController::class); Route::controller(BlogController::class)->group(function () { Route::get('/blog/destroy/{id}', 'destroy')->name('blog.destroy'); Route::post('/blog/change-status', 'change_status')->name('blog.change-status'); }); //Coupons Route::resource('coupon', CouponController::class); Route::controller(CouponController::class)->group(function () { Route::get('/coupon/destroy/{id}', 'destroy')->name('coupon.destroy'); //Coupon Form Route::post('/coupon/get_form', 'get_coupon_form')->name('coupon.get_coupon_form'); Route::post('/coupon/get_form_edit', 'get_coupon_form_edit')->name('coupon.get_coupon_form_edit'); }); //Reviews Route::controller(ReviewController::class)->group(function () { Route::get('/reviews', 'index')->name('reviews.index'); Route::post('/reviews/published', 'updatePublished')->name('reviews.published'); }); //Support_Ticket Route::controller(SupportTicketController::class)->group(function () { Route::get('support_ticket/', 'admin_index')->name('support_ticket.admin_index'); Route::get('support_ticket/{id}/show', 'admin_show')->name('support_ticket.admin_show'); Route::post('support_ticket/reply', 'admin_store')->name('support_ticket.admin_store'); }); //Pickup_Points Route::resource('pick_up_points', PickupPointController::class); Route::controller(PickupPointController::class)->group(function () { Route::get('/pick_up_points/edit/{id}', 'edit')->name('pick_up_points.edit'); Route::get('/pick_up_points/destroy/{id}', 'destroy')->name('pick_up_points.destroy'); }); //conversation of seller customer Route::controller(ConversationController::class)->group(function () { Route::get('conversations', 'admin_index')->name('conversations.admin_index'); Route::get('conversations/{id}/show', 'admin_show')->name('conversations.admin_show'); Route::post('conversations/store', 'admin_store')->name('conversations.admin_store'); }); // product Queries show on Admin panel Route::controller(ProductQueryController::class)->group(function () { Route::get('/product-queries', 'index')->name('product_query.index'); Route::get('/product-queries/{id}', 'show')->name('product_query.show'); Route::put('/product-queries/{id}', 'reply')->name('product_query.reply'); }); // Product Attribute Route::resource('attributes', AttributeController::class); Route::controller(AttributeController::class)->group(function () { Route::get('/attributes/edit/{id}', 'edit')->name('attributes.edit'); Route::get('/attributes/destroy/{id}', 'destroy')->name('attributes.destroy'); //Attribute Value Route::post('/store-attribute-value', 'store_attribute_value')->name('store-attribute-value'); Route::get('/edit-attribute-value/{id}', 'edit_attribute_value')->name('edit-attribute-value'); Route::post('/update-attribute-value/{id}', 'update_attribute_value')->name('update-attribute-value'); Route::get('/destroy-attribute-value/{id}', 'destroy_attribute_value')->name('destroy-attribute-value'); //Colors Route::get('/colors', 'colors')->name('colors'); Route::post('/colors/store', 'store_color')->name('colors.store'); Route::get('/colors/edit/{id}', 'edit_color')->name('colors.edit'); Route::post('/colors/update/{id}', 'update_color')->name('colors.update'); Route::get('/colors/destroy/{id}', 'destroy_color')->name('colors.destroy'); }); // Addon Route::resource('addons', AddonController::class); Route::post('/addons/activation', [AddonController::class, 'activation'])->name('addons.activation'); //Customer Package Route::resource('customer_packages', CustomerPackageController::class); Route::controller(CustomerPackageController::class)->group(function () { Route::get('/customer_packages/edit/{id}', 'edit')->name('customer_packages.edit'); Route::get('/customer_packages/destroy/{id}', 'destroy')->name('customer_packages.destroy'); }); //Classified Products Route::controller(CustomerProductController::class)->group(function () { Route::get('/classified_products', 'customer_product_index')->name('classified_products'); Route::post('/classified_products/published', 'updatePublished')->name('classified_products.published'); }); // Countries Route::resource('countries', CountryController::class); Route::post('/countries/status', [CountryController::class, 'updateStatus'])->name('countries.status'); // States Route::resource('states', StateController::class); Route::post('/states/status', [StateController::class, 'updateStatus'])->name('states.status'); Route::resource('cities', CityController::class); Route::controller(CityController::class)->group(function () { Route::get('/cities/edit/{id}', 'edit')->name('cities.edit'); Route::get('/cities/destroy/{id}', 'destroy')->name('cities.destroy'); Route::post('/cities/status', 'updateStatus')->name('cities.status'); }); Route::view('/system/update', 'backend.system.update')->name('system_update'); Route::view('/system/server-status', 'backend.system.server_status')->name('system_server'); // uploaded files Route::resource('/uploaded-files', AizUploadController::class); Route::controller(AizUploadController::class)->group(function () { Route::any('/uploaded-files/file-info', 'file_info')->name('uploaded-files.info'); Route::get('/uploaded-files/destroy/{id}', 'destroy')->name('uploaded-files.destroy'); }); Route::get('/all-notification', [NotificationController::class, 'index'])->name('admin.all-notification'); Route::get('/clear-cache', [AdminController::class, 'clearCache'])->name('cache.clear'); // Product Review Route::post('/product_admin_review_modal', [ReviewController::class, 'product_admin_review_modal'])->name('product_admin_review_modal'); });