fix testdefsite post

This commit is contained in:
mahdahar 2025-11-19 13:38:46 +07:00
parent 04b8c79911
commit 39c9b39edf

View File

@ -15,6 +15,9 @@ class TestDefSite extends BaseController {
public function __construct() {
$this->db = \Config\Database::connect();
$this->model = new TestDefSiteModel;
$this->rules = [
"TestSiteCode" => "required"
];
}
public function index() {