Proje dosyaları eklendi
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\EarnDeviceController;
|
||||
use App\Http\Controllers\EarnTaskResultController;
|
||||
use App\Http\Middleware\AuthenticateEarnApiToken;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::post('/earn/device/bind', [EarnDeviceController::class, 'bind'])
|
||||
->middleware(AuthenticateEarnApiToken::class.':tasks:read,bind')
|
||||
->name('earn.device.bind');
|
||||
|
||||
// Doğrulanmış Earn istemcisinden görev sonuçlarını kabul eder.
|
||||
// Yazar: Gökhan Engin - İletişim : https://bit.ly/YazılımUzmanı
|
||||
Route::post('/earn/tasks/results', [EarnTaskResultController::class, 'store'])
|
||||
->middleware(AuthenticateEarnApiToken::class.':tasks:read,results')
|
||||
->name('earn.tasks.results.store');
|
||||
Reference in New Issue
Block a user