|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/easysfm.edukrypt.in/routes/ |
Upload File : |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\ApiController;
use App\Http\Controllers\ApiProductController;
use App\Http\Controllers\ApiDemoProductController;
use App\Http\Controllers\ApiMcqController;
use App\Http\Controllers\AnalyticsAPI\ApiHomeController;
// New API
Route::post('student_register', [ApiController::class, 'studentRegisterAPI']);
Route::post('student_register_continue', [ApiController::class, 'studentRegisterContinueAPI']);
Route::post('student_login', [ApiController::class, 'studentLoginAPI']);
Route::post('student_logout', [ApiController::class, 'studentLogoutAPI']);
Route::post('student_forgot', [ApiController::class, 'studentForgotPasswordAPI']);
Route::post('student_forgot_otp_match', [ApiController::class, 'studentForgotPassword_OTP_Match_API']);
Route::post('student_forgot_continue', [ApiController::class, 'studentForgotPasswordContinueAPI']);
Route::post('check_active_device', [ApiController::class, 'studentActiveDeviceAPI']);
// Check Version
Route::get('check_force_update', [ApiController::class, 'check_force_update']);
Route::get('windows-check-for-update', [ApiController::class, 'checkforupdate']);
// End API
Route::post('login', [ApiController::class, 'authenticate']);
Route::post('registerotpsent', [ApiController::class, 'registerOtpSent']);
Route::post('register', [ApiController::class, 'register']);
Route::post('otpsendbyphone', [ApiController::class, 'otpSendByPhone']);
Route::post('otpmatchforlogin', [ApiController::class, 'otpMatchForLogin']);
Route::post('encryption_login', [ApiController::class, 'encryptionLogin']);
Route::get('logout', [ApiController::class, 'logout']);
Route::get('get_user', [ApiController::class, 'get_user']);
Route::post('logs', [ApiController::class, 'logs']);
Route::post('resendotp', [ApiController::class, 'resendOtp']);
Route::post('getprofile', [ApiController::class, 'getProfile']);
Route::post('updateprofile', [ApiController::class, 'updateProfile']);
Route::post('notification', [ApiController::class, 'notification']);
Route::post('notificationdelete', [ApiController::class, 'notificationDelete']);
Route::post('purchasedproductlist', [ApiProductController::class, 'purchasedProductList']);
Route::post('productcontentlist', [ApiProductController::class, 'productContentList']);
Route::post('videodownload', [ApiProductController::class, 'videoDownload']);
Route::post('showallliveproductforall', [ApiProductController::class, 'showAllLiveProductForAll']);
Route::post('showallliveproduct', [ApiProductController::class, 'showAllLiveProduct']);
Route::post('categorycontent', [ApiProductController::class, 'categorycontent']);
Route::post('videocontent', [ApiProductController::class, 'videoContent']);
Route::post('videohistories', [ApiProductController::class, 'videoHistories']);
Route::get('getmaincategory', [ApiProductController::class, 'getMainCategory']);
Route::get('blog', [ApiProductController::class, 'blog']);
Route::post('mcqcontent', [ApiProductController::class, 'mcqContent']);
Route::post('pdfcontent', [ApiProductController::class, 'pdfContent']);
Route::post('pdftestdownload', [ApiProductController::class, 'pdfTestDownload']);
Route::post('ebookcontent', [ApiProductController::class, 'ebookContent']);
Route::post('ebookdownload', [ApiProductController::class, 'ebookDownload']);
Route::post('revisionmaterial', [ApiProductController::class, 'revisionMaterial']);
Route::post('demo-product-list', [ApiDemoProductController::class, 'demoProductList']);
Route::post('demo-category-content', [ApiDemoProductController::class, 'democategorycontent']);
Route::post('demo-video-content', [ApiDemoProductController::class, 'demoVideocontent']);
Route::post('demo-video-download', [ApiDemoProductController::class, 'demoVideoDownload']);
Route::post('demo-mcqcontent', [ApiDemoProductController::class, 'mcqContent']);
Route::post('demo-pdfcontent', [ApiDemoProductController::class, 'pdfContent']);
Route::post('demo-pdftestdownload', [ApiDemoProductController::class, 'pdfTestDownload']);
Route::post('demo-ebookcontent', [ApiDemoProductController::class, 'ebookContent']);
Route::post('demo-ebookdownload', [ApiDemoProductController::class, 'ebookDownload']);
Route::post('demo-mcqquestion', [ApiDemoProductController::class, 'getMcqQuestion']);
Route::post('instruction', [ApiMcqController::class, 'getInstruction']);
Route::post('mcqquestion', [ApiMcqController::class, 'getMcqQuestion']);
Route::post('saveuserans', [ApiMcqController::class, 'saveUserAns']);
Route::post('mcqresult', [ApiMcqController::class, 'mcqResult']);
Route::post('uploadstudenttestpdf', [ApiMcqController::class, 'uploadStudentTestPdf']);
//get banner api
Route::get('getbanners',[ApiHomeController::class,'getBanners']);
Route::get('getyoutube',[ApiHomeController::class,'getYoutube']);
// });