добавляю тестовые скрипты на всякий случай

This commit is contained in:
vasya
2026-04-11 19:38:43 +03:00
parent 77bd5c2581
commit 2c5dbfc4d1
3 changed files with 97 additions and 0 deletions
@@ -0,0 +1,19 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\TestData;
class TestDataController extends Controller
{
public function insertNewData(Request $rqst)
{
$model = new TestData;
$model->test_int = $rqst->int;
$model->test_char = $rqst->char;
$model->save();
}
}