name('feepayment'); Route::post('/bidpayment', [ApiController::class, 'bidpayment'])->name('bidpayment'); //Protected routes Route::group(['middleware' => ['auth:sanctum']], function () { // User Route::post('/user/logout', [AuthController::class, 'logoutUser']); Route::get('/user/profile/{nokp}', [UserController::class, 'getProfileUser']); Route::post('/password/reset', [ResetPasswordController::class, 'reset']); // User Profile Route::get('/user/profile', [UserController::class, 'getProfileUser']); Route::put('/userUpdate/profile', [UserController::class, 'updateProfileUser']); // Cart Route::post('/addToCart', [CartController::class, 'addToCart']); Route::post('/removeFromCart', [CartController::class, 'removeFromCart']); Route::post('/updateItem', [CartController::class, 'updateItem']); Route::get('/deleteItem/{id}', [CartController::class, 'deleteCart']); // Lelong Route::get('/lelongDetails/today', [LelongMobileController::class, 'getlelongdetails']); Route::get('/lelongDetails/cawangan', [LelongMobileController::class, 'searchLelByCaw']); Route::get('/lelong/cawangan', [LelongMobileController::class, 'searchLelongByCawangan']); Route::get('/karat', [LelongMobileController::class, 'getListKarat']); Route::get('/result/{user_id}', [LelongMobileController::class, 'bidresult']); Route::get('/bayar/{user_id}/{lelong_id}', [LelongMobileController::class, 'bidresults']); Route::get('/history/{user_id}', [LelongMobileController::class, 'history']); Route::get('/listcawlelongtoday', [LelongMobileController::class, 'listCawLelongToday']); Route::get('/listcawlelongtodaystarted', [LelongMobileController::class, 'listCawLelongTodayStarted']); Route::get('/listcawlelongnext', [LelongMobileController::class, 'listCawLelongNext']); Route::post('/bayarcdm', [LelongMobileController::class, 'bayarCdm']); // Lelong => Bidder Route::post('/bidder/biditem', [LelongMobileController::class, 'bidderSelectBidItem']); Route::get('/bidder/listbiditem', [LelongMobileController::class, 'listBidItem']); Route::get('/bidder/listBidItemWeb/{user_id}', [LelongMobileController::class, 'listBidItemWeb']); Route::get('/bidder/historyFeePay', [LelongMobileController::class, 'historyFeePay']); Route::post('/bidder/updatebiditem', [LelongMobileController::class, 'updatebiditem']); }); Route::get('/item','ApiController@biditem'); Route::get('/jeniskarat','ApiController@karat'); // Route::get('/item',['as'=>'lelong.biditem','uses'=>'LelongController@biditem']); // Route::get('/lelongstop/{id}',['as'=>'lelong.stop','uses'=>'LelongController@stop']);