add testdefsite rule
This commit is contained in:
parent
39c9b39edf
commit
fc990ffa81
@ -16,7 +16,9 @@ class TestDefSite extends BaseController {
|
|||||||
$this->db = \Config\Database::connect();
|
$this->db = \Config\Database::connect();
|
||||||
$this->model = new TestDefSiteModel;
|
$this->model = new TestDefSiteModel;
|
||||||
$this->rules = [
|
$this->rules = [
|
||||||
"TestSiteCode" => "required"
|
"TestSiteCode" => "required",
|
||||||
|
"TestSiteName" => "required",
|
||||||
|
"Type" => "required",
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user