Server IP : 108.163.255.210 / Your IP : 3.142.36.215 Web Server : Apache System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 User : ( 1172) PHP Version : 7.2.34 Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/unilinki/www/shop/routes/ |
Upload File : |
<?php Route::prefix('v1/auth')->group(function () { Route::post('login', 'Api\AuthController@login'); Route::post('signup', 'Api\AuthController@signup'); Route::post('social-login', 'Api\AuthController@socialLogin'); Route::post('password/create', 'Api\PasswordResetController@create'); Route::middleware('auth:api')->group(function () { Route::get('logout', 'Api\AuthController@logout'); Route::get('user', 'Api\AuthController@user'); }); }); Route::prefix('v1')->group(function () { Route::apiResource('banners', 'Api\BannerController')->only('index'); Route::get('brands/top', 'Api\BrandController@top'); Route::apiResource('brands', 'Api\BrandController')->only('index'); Route::apiResource('business-settings', 'Api\BusinessSettingController')->only('index'); Route::get('categories/featured', 'Api\CategoryController@featured'); Route::get('categories/home', 'Api\CategoryController@home'); Route::apiResource('categories', 'Api\CategoryController')->only('index'); Route::get('sub-categories/{id}', 'Api\SubCategoryController@index')->name('subCategories.index'); Route::apiResource('colors', 'Api\ColorController')->only('index'); Route::apiResource('currencies', 'Api\CurrencyController')->only('index'); Route::apiResource('customers', 'Api\CustomerController')->only('show'); Route::apiResource('general-settings', 'Api\GeneralSettingController')->only('index'); Route::apiResource('home-categories', 'Api\HomeCategoryController')->only('index'); Route::get('purchase-history/{id}', 'Api\PurchaseHistoryController@index')->middleware('auth:api'); Route::get('purchase-history-details/{id}', 'Api\PurchaseHistoryDetailController@index')->name('purchaseHistory.details')->middleware('auth:api'); Route::get('products/admin', 'Api\ProductController@admin'); Route::get('products/seller', 'Api\ProductController@seller'); Route::get('products/category/{id}', 'Api\ProductController@category')->name('api.products.category'); Route::get('products/sub-category/{id}', 'Api\ProductController@subCategory')->name('products.subCategory'); Route::get('products/sub-sub-category/{id}', 'Api\ProductController@subSubCategory')->name('products.subSubCategory'); Route::get('products/brand/{id}', 'Api\ProductController@brand')->name('api.products.brand'); Route::get('products/todays-deal', 'Api\ProductController@todaysDeal'); Route::get('products/flash-deal', 'Api\ProductController@flashDeal'); Route::get('products/featured', 'Api\ProductController@featured'); Route::get('products/best-seller', 'Api\ProductController@bestSeller'); Route::get('products/related/{id}', 'Api\ProductController@related')->name('products.related'); Route::get('products/top-from-seller/{id}', 'Api\ProductController@topFromSeller')->name('products.topFromSeller'); Route::get('products/search', 'Api\ProductController@search'); Route::post('products/variant/price', 'Api\ProductController@variantPrice'); Route::get('products/home', 'Api\ProductController@home'); Route::apiResource('products', 'Api\ProductController')->except(['store', 'update', 'destroy']); Route::get('carts/{id}', 'Api\CartController@index')->middleware('auth:api'); Route::post('carts/add', 'Api\CartController@add')->middleware('auth:api'); Route::post('carts/change-quantity', 'Api\CartController@changeQuantity')->middleware('auth:api'); Route::apiResource('carts', 'Api\CartController')->only('destroy')->middleware('auth:api'); Route::get('reviews/product/{id}', 'Api\ReviewController@index')->name('api.reviews.index'); Route::get('shop/user/{id}', 'Api\ShopController@shopOfUser')->middleware('auth:api'); Route::get('shops/details/{id}', 'Api\ShopController@info')->name('shops.info'); Route::get('shops/products/all/{id}', 'Api\ShopController@allProducts')->name('shops.allProducts'); Route::get('shops/products/top/{id}', 'Api\ShopController@topSellingProducts')->name('shops.topSellingProducts'); Route::get('shops/products/featured/{id}', 'Api\ShopController@featuredProducts')->name('shops.featuredProducts'); Route::get('shops/products/new/{id}', 'Api\ShopController@newProducts')->name('shops.newProducts'); Route::get('shops/brands/{id}', 'Api\ShopController@brands')->name('shops.brands'); Route::apiResource('shops', 'Api\ShopController')->only('index'); Route::apiResource('sliders', 'Api\SliderController')->only('index'); Route::get('wishlists/{id}', 'Api\WishlistController@index')->middleware('auth:api'); Route::post('wishlists/check-product', 'Api\WishlistController@isProductInWishlist')->middleware('auth:api'); Route::apiResource('wishlists', 'Api\WishlistController')->except(['index', 'update', 'show'])->middleware('auth:api'); Route::apiResource('settings', 'Api\SettingsController')->only('index'); Route::get('policies/seller', 'Api\PolicyController@sellerPolicy')->name('policies.seller'); Route::get('policies/support', 'Api\PolicyController@supportPolicy')->name('policies.support'); Route::get('policies/return', 'Api\PolicyController@returnPolicy')->name('policies.return'); Route::get('user/info/{id}', 'Api\UserController@info')->middleware('auth:api'); Route::post('user/info/update', 'Api\UserController@updateName')->middleware('auth:api'); Route::get('user/shipping/address/{id}', 'Api\AddressController@addresses')->middleware('auth:api'); Route::post('user/shipping/create', 'Api\AddressController@createShippingAddress')->middleware('auth:api'); Route::get('user/shipping/delete/{id}', 'Api\AddressController@deleteShippingAddress')->middleware('auth:api'); Route::post('coupon/apply', 'Api\CouponController@apply')->middleware('auth:api'); Route::post('payments/pay/stripe', 'Api\StripeController@processPayment')->middleware('auth:api'); Route::post('payments/pay/paypal', 'Api\PaypalController@processPayment')->middleware('auth:api'); Route::post('payments/pay/wallet', 'Api\WalletController@processPayment')->middleware('auth:api'); Route::post('payments/pay/cod', 'Api\PaymentController@cashOnDelivery')->middleware('auth:api'); Route::post('order/store', 'Api\OrderController@store')->middleware('auth:api'); Route::get('wallet/balance/{id}', 'Api\WalletController@balance')->middleware('auth:api'); Route::get('wallet/history/{id}', 'Api\WalletController@walletRechargeHistory')->middleware('auth:api'); }); Route::prefix('v2/auth')->group(function () { Route::post('login', 'Api\V2\AuthController@login'); Route::post('signup', 'Api\V2\AuthController@signup'); Route::post('social-login', 'Api\V2\AuthController@socialLogin'); Route::post('password/create', 'Api\V2\PasswordResetController@create'); Route::middleware('auth:api')->group(function () { Route::get('logout', 'Api\V2\AuthController@logout'); Route::get('user', 'Api\V2\AuthController@user'); }); }); Route::prefix('v2')->group(function () { Route::apiResource('banners', 'Api\V2\BannerController')->only('index'); Route::get('brands/top', 'Api\V2\BrandController@top'); Route::apiResource('brands', 'Api\V2\BrandController')->only('index'); Route::apiResource('business-settings', 'Api\V2\BusinessSettingController')->only('index'); Route::get('categories/featured', 'Api\V2\CategoryController@featured'); Route::get('categories/home', 'Api\V2\CategoryController@home'); Route::get('categories/top', 'Api\V2\CategoryController@top'); Route::apiResource('categories', 'Api\V2\CategoryController')->only('index'); Route::get('sub-categories/{id}', 'Api\V2\SubCategoryController@index')->name('subCategories.index'); Route::apiResource('colors', 'Api\V2\ColorController')->only('index'); Route::apiResource('currencies', 'Api\V2\CurrencyController')->only('index'); Route::apiResource('customers', 'Api\V2\CustomerController')->only('show'); Route::apiResource('general-settings', 'Api\V2\GeneralSettingController')->only('index'); Route::apiResource('home-categories', 'Api\V2\HomeCategoryController')->only('index'); Route::get('purchase-history/{id}', 'Api\V2\PurchaseHistoryController@index')->middleware('auth:api'); Route::get('purchase-history-details/{id}', 'Api\V2\PurchaseHistoryDetailController@index')->name('purchaseHistory.details')->middleware('auth:api'); Route::get('products/admin', 'Api\V2\ProductController@admin'); Route::get('products/seller', 'Api\V2\ProductController@seller'); Route::get('products/category/{id}', 'Api\V2\ProductController@category')->name('api.products.category'); Route::get('products/sub-category/{id}', 'Api\V2\ProductController@subCategory')->name('products.subCategory'); Route::get('products/sub-sub-category/{id}', 'Api\V2\ProductController@subSubCategory')->name('products.subSubCategory'); Route::get('products/brand/{id}', 'Api\V2\ProductController@brand')->name('api.products.brand'); Route::get('products/todays-deal', 'Api\V2\ProductController@todaysDeal'); Route::get('products/featured', 'Api\V2\ProductController@featured'); Route::get('products/best-seller', 'Api\V2\ProductController@bestSeller'); Route::get('products/related/{id}', 'Api\V2\ProductController@related')->name('products.related'); Route::get('products/top-from-seller/{id}', 'Api\V2\ProductController@topFromSeller')->name('products.topFromSeller'); Route::get('products/search', 'Api\V2\ProductController@search'); Route::post('products/variant/price', 'Api\V2\ProductController@variantPrice'); Route::get('products/home', 'Api\V2\ProductController@home'); Route::apiResource('products', 'Api\V2\ProductController')->except(['store', 'update', 'destroy']); Route::get('carts/{id}', 'Api\V2\CartController@index')->middleware('auth:api'); Route::post('carts/add', 'Api\V2\CartController@add')->middleware('auth:api'); Route::post('carts/change-quantity', 'Api\V2\CartController@changeQuantity')->middleware('auth:api'); Route::apiResource('carts', 'Api\V2\CartController')->only('destroy')->middleware('auth:api'); Route::get('reviews/product/{id}', 'Api\V2\ReviewController@index')->name('api.reviews.index'); Route::get('shop/user/{id}', 'Api\V2\ShopController@shopOfUser')->middleware('auth:api'); Route::get('shops/details/{id}', 'Api\V2\ShopController@info')->name('shops.info'); Route::get('shops/products/all/{id}', 'Api\V2\ShopController@allProducts')->name('shops.allProducts'); Route::get('shops/products/top/{id}', 'Api\V2\ShopController@topSellingProducts')->name('shops.topSellingProducts'); Route::get('shops/products/featured/{id}', 'Api\V2\ShopController@featuredProducts')->name('shops.featuredProducts'); Route::get('shops/products/new/{id}', 'Api\V2\ShopController@newProducts')->name('shops.newProducts'); Route::get('shops/brands/{id}', 'Api\V2\ShopController@brands')->name('shops.brands'); Route::apiResource('shops', 'Api\V2\ShopController')->only('index'); Route::apiResource('sliders', 'Api\V2\SliderController')->only('index'); Route::get('wishlists/{id}', 'Api\V2\WishlistController@index')->middleware('auth:api'); Route::post('wishlists/check-product', 'Api\V2\WishlistController@isProductInWishlist')->middleware('auth:api'); Route::apiResource('wishlists', 'Api\V2\WishlistController')->except(['index', 'update', 'show'])->middleware('auth:api'); Route::apiResource('settings', 'Api\V2\SettingsController')->only('index'); Route::get('policies/seller', 'Api\V2\PolicyController@sellerPolicy')->name('policies.seller'); Route::get('policies/support', 'Api\V2\PolicyController@supportPolicy')->name('policies.support'); Route::get('policies/return', 'Api\V2\PolicyController@returnPolicy')->name('policies.return'); Route::get('user/info/{id}', 'Api\V2\UserController@info')->middleware('auth:api'); Route::post('user/info/update', 'Api\V2\UserController@updateName')->middleware('auth:api'); Route::get('user/shipping/address/{id}', 'Api\V2\AddressController@addresses')->middleware('auth:api'); Route::post('user/shipping/create', 'Api\V2\AddressController@createShippingAddress')->middleware('auth:api'); Route::get('user/shipping/delete/{id}', 'Api\V2\AddressController@deleteShippingAddress')->middleware('auth:api'); Route::post('coupon/apply', 'Api\V2\CouponController@apply')->middleware('auth:api'); Route::post('payments/pay/stripe', 'Api\V2\StripeController@processPayment')->middleware('auth:api'); Route::post('payments/pay/paypal', 'Api\V2\PaypalController@processPayment')->middleware('auth:api'); Route::post('payments/pay/wallet', 'Api\V2\WalletController@processPayment')->middleware('auth:api'); Route::post('payments/pay/cod', 'Api\V2\PaymentController@cashOnDelivery')->middleware('auth:api'); Route::post('order/store', 'Api\V2\OrderController@store')->middleware('auth:api'); Route::get('wallet/balance/{id}', 'Api\V2\WalletController@balance')->middleware('auth:api'); Route::get('wallet/history/{id}', 'Api\V2\WalletController@walletRechargeHistory')->middleware('auth:api'); Route::get('flash-deals', 'Api\V2\FlashDealController@index'); Route::get('flash-deal-products/{id}', 'Api\V2\FlashDealController@products'); }); Route::fallback(function() { return response()->json([ 'data' => [], 'success' => false, 'status' => 404, 'message' => 'Invalid Route' ]); });