Files
confirms/app/Controllers/Common/Common.php
2025-12-30 16:02:51 +09:00

27 lines
500 B
PHP

<?php
namespace App\Controllers\Common;
use App\Controllers\BaseController;
use App\Models\common\CommonModel;
class Common extends BaseController
{
private $model;
public function __construct()
{
$this->model = new CommonModel();
}
public function getVrfcCode()
{
$type = $this->request->getGet("type");
$type = "VRFC_TYPE_SUB_" . $type;
$data = $this->model->getVrfcCode($type);
return $this->response->setJSON($data);
}
}