芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/myvyralapp.com/bck/routes/web.php
group(function(){ Route::get('/','home')->name('index'); Route::get('about','about')->name('about'); Route::get('service','service')->name('service'); Route::get('faq','faq')->name('faq'); Route::get('web/journal','blog')->name('blog'); Route::get('web/journal/details/{id}/{slug}','blogDetails')->name('blog.details'); Route::get('web/journal/by/category/{id}/{slug}','blogByCategory')->name('blog.by.category'); Route::get('merchant-info','merchant')->name('merchant'); Route::get('contact','contact')->name('contact'); Route::post('contact/store','contactStore')->name('contact.store'); Route::get('change/{lang?}','changeLanguage')->name('lang'); Route::get('page/{slug}','usefulPage')->name('useful.link'); Route::post('newsletter','newsletterSubmit')->name('newsletter.submit'); Route::get('/user/success','pagaditoSuccess')->name('success'); }); Route::controller(DeveloperController::class)->prefix('developer')->name('developer.')->group(function(){ Route::get('/','index')->name('index'); Route::get('prerequisites','prerequisites')->name('prerequisites'); Route::get('authentication','authentication')->name('authentication'); Route::get('base-url','baseUrl')->name('base.url'); Route::get('access.token','accessToken')->name('access.token'); Route::get('initiate-payment','initiatePayment')->name('initiate.payment'); Route::get('check-status-payment','checkStatusPayment')->name('check.status.payment'); Route::get('response-code','responseCode')->name('response.code'); Route::get('error-handling','errorHandling')->name('error.handling'); Route::get('best-practices','bestPractices')->name('best.practices'); Route::get('examples','examples')->name('examples'); Route::get('faq','faq')->name('faq'); Route::get('support','support')->name('support'); }); //for sslcommerz callback urls(web) Route::controller(AddMoneyController::class)->prefix("add-money")->name("add.money.")->group(function(){ //sslcommerz Route::post('sslcommerz/success','sllCommerzSuccess')->name('ssl.success'); Route::post('sslcommerz/fail','sllCommerzFails')->name('ssl.fail'); Route::post('sslcommerz/cancel','sllCommerzCancel')->name('ssl.cancel'); }); //for sslcommerz callback urls(api) Route::controller(UserAddMoneyController::class)->prefix("api-add-money")->name("api.add.money.")->group(function(){ //sslcommerz Route::post('sslcommerz/success','sllCommerzSuccess')->name('ssl.success'); Route::post('sslcommerz/fail','sllCommerzFails')->name('ssl.fail'); Route::post('sslcommerz/cancel','sllCommerzCancel')->name('ssl.cancel'); });