name('feepayment'); Route::get('/pembayaran/response', [ApiController::class, 'response'])->name('pay.paymentStatus'); Route::get('/pembayaran/backend', [ApiController::class, 'callback'])->name('pay.callback'); Route::post('/bidpayment', [ApiController::class, 'bidpayment'])->name('bidpayment'); Route::get('/pembayaran/bidresponse', [ApiController::class, 'bidresponse'])->name('pay.bidpaymentStatus'); Route::get('/pembayaran/bidbackend', [ApiController::class, 'bidbackend'])->name('pay.bidcallback'); //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('/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('/karat', [LelongMobileController::class, 'getListKarat']); Route::get('/result/{user_id}', [LelongMobileController::class, 'bidresult']); Route::get('/history/{user_id}', [LelongMobileController::class, 'history']); // Lelong => Bidder Route::post('/bidder/biditem', [LelongMobileController::class, 'bidderSelectBidItem']); Route::get('/bidder/listbiditem', [LelongMobileController::class, 'listBidItem']); 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']);