feat: Implement client payment history endpoint and add type filtering to product category API.
This commit is contained in:
@@ -34,6 +34,10 @@ Route::prefix('v1')->as('api.')->group(function () {
|
||||
Route::patch('dich-vu/{id}/auto-renew', 'updateClientServiceAutoRenew')->name('services.autoRenew.update');
|
||||
});
|
||||
|
||||
Route::middleware(['api.auth'])->controller(TransactionController::class)->group(function () {
|
||||
Route::get('payment-history', 'getClientPaymentHistory')->name('payment-history.list');
|
||||
});
|
||||
|
||||
Route::middleware(['api.auth'])->get('get-ticket-console', function (\Illuminate\Http\Request $request, \App\Http\Services\vCenter $serviceVCenter) {
|
||||
$orderNum = (string)$request->query('order_num', '');
|
||||
if ($orderNum === '') {
|
||||
|
||||
Reference in New Issue
Block a user