This commit is contained in:
Nguyễn Tiến Dũng
2022-05-01 22:01:12 +07:00
parent 0363bb15ba
commit 96e0513959
102 changed files with 27404 additions and 0 deletions

23
routes/api.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
return $request->user();
});
Route::post('/settings', [App\Http\Controllers\DUNGA::class, 'settings']);
Route::post('/momo', [App\Http\Controllers\DUNGA::class, 'momo']);
Route::post('/render_minigame', [App\Http\Controllers\DUNGA::class, 'minigame']);