feat: nạp tiền thủ công mã 30 phút, gia hạn trừ số dư, đồng bộ domain từ Plesk
- Nạp tiền: mã thanh toán sống 30 phút (ManualDepositDraft), khôi phục/huỷ mã, lệnh dọn mã hết hạn; total_pending chỉ tính giao dịch đã nộp chứng từ, admin duyệt/từ chối/xoá giao dịch - Gia hạn dịch vụ: phát hành invoice gia hạn trên order gốc và trừ số dư ngay - Đồng bộ domain từ Plesk theo server, ServiceOrderRecorder tạo order/invoice cho dịch vụ admin dựng - Danh sách dịch vụ trả field theo loại (service_plan, dns_records_count), đếm dịch vụ theo loại Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
10af41c5cf
commit
c5115b52dd
@@ -104,6 +104,7 @@ Route::prefix('v1')
|
||||
->controller(ClientServiceController::class)
|
||||
->as('client-service.')
|
||||
->group(function () {
|
||||
Route::get('/', 'index')->name('list');
|
||||
Route::get('vps', 'indexVps')->name('vps.list');
|
||||
Route::get('hosting', 'indexHosting')->name('hosting.list');
|
||||
Route::get('web-design', 'indexWebDesign')->name('web-design.list');
|
||||
@@ -132,6 +133,7 @@ Route::prefix('v1')
|
||||
->controller(TransactionController::class)
|
||||
->group(function () {
|
||||
Route::get('payment-history', 'getClientPaymentHistory')->name('payment-history.list');
|
||||
Route::get('payment-history/{uuid}', 'getClientTransactionDetail')->whereUuid('uuid')->name('payment-history.detail');
|
||||
});
|
||||
|
||||
Route::middleware(['api.auth'])
|
||||
@@ -269,6 +271,7 @@ Route::prefix('v1')
|
||||
Route::post('manual-deposit/confirm', [ManualDepositController::class, 'confirm'])->name('manualDeposit.confirm');
|
||||
Route::delete('manual-deposit/{uuid}/cancel', [ManualDepositController::class, 'cancel'])->name('manualDeposit.cancel');
|
||||
Route::post('manual-deposit/upload-proof', [ManualDepositController::class, 'uploadProof'])->name('manualDeposit.uploadProof');
|
||||
Route::get('manual-deposit/{uuid}', [ManualDepositController::class, 'show'])->whereUuid('uuid')->name('manualDeposit.show');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user