api duitku dan profile add

This commit is contained in:
2024-04-24 16:47:25 +07:00
parent 2cf00ac927
commit 85544a7f0e
5 changed files with 224 additions and 4 deletions

View File

@@ -70,6 +70,7 @@ Route::prefix('linksehat')->group(function () {
Route::get('profile/{id}', [ProfileController::class, 'index'])->name('profile');
Route::get('change-profile/{id}', [ProfileController::class, 'changeProfile'])->name('change-profile');
Route::post('profile', [ProfileController::class, 'update'])->name('profile.update');
Route::post('profile-add', [ProfileController::class, 'store'])->name('profile.store');
Route::post('notification-tokens/delete/{id}', [NotificationTokenController::class, 'destroy'])->name('profile.delete.token');
Route::post('notification-tokens', [NotificationTokenController::class, 'store'])->name('profile.store.token');
Route::apiResource('appointment', AppointmentController::class);
@@ -95,7 +96,8 @@ Route::prefix('linksehat')->group(function () {
Route::get('livechat/consultation', 'consultation')->name('livechats.consultation');
Route::post('livechat/consultation-request', 'consultation_request')->name('livechats.consultation-request');
Route::get('livechat/consultation-request/{id}', 'consultation_request_show');
Route::get('livechat/consultation-request/consultation_payment_choose/{id}', 'consultation_payment_choose');
Route::get('livechat/consultation-request/consultation-payment-choose/{id}', 'consultation_payment_choose');
Route::get('livechat/consultation-request/consultation-payment-check/{id}', 'consultation_check_payment');
Route::post('livechat/consultation-payment', 'consultation_payment');
});