latest api

This commit is contained in:
Azfar Arsyad
2022-03-07 10:57:18 +08:00
parent e97d72424d
commit c32f8a616a
5 changed files with 268 additions and 1 deletions
+6
View File
@@ -35,6 +35,10 @@ Route::post('/feepayment', [ApiController::class, 'feepayment'])->name('feepaym
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 () {
@@ -55,10 +59,12 @@ Route::group(['middleware' => ['auth:sanctum']], function () {
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']);
// Lelong => Bidder
Route::post('/bidder/biditem', [LelongMobileController::class, 'bidderSelectBidItem']);
Route::get('/bidder/listbiditem', [LelongMobileController::class, 'listBidItem']);
Route::post('/bidder/updatebiditem', [LelongMobileController::class, 'updatebiditem']);
});