server test version

This commit is contained in:
apuc committed 2025-01-03 02:11:09 +03:00
1 parent 093b04c2c9
commit 74efe9e01e
101 files changed
+2871 -117

No files matched your search

@@ -0,0 +1,25 @@
<?php
namespace kernel\app_modules\card\controllers;
use kernel\app_modules\card\models\Card;
use kernel\RestController;
class CardRestController extends RestController
{
public function __construct()
{
$this->model = new Card();
}
protected function expand(): array
{
return ["cardFile"];
}
protected function filters(): array
{
return ['pin', 'user_id', 'payment_type', 'bank_id', 'info', 'program', 'username', 'status'];
}
}