ok
Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/www/3-idiots/routes/api/v3/ |
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/www/3-idiots/routes/api/v3/seller.php |
<?php use Illuminate\Support\Facades\Route; Route::group(['namespace' => 'api\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::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::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::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' => '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::post('ls-lib-update', 'LsLibController@lib_update'); });