cfmgrv4 init...1

This commit is contained in:
최준흠 2024-09-27 19:53:40 +09:00
parent bc83fa1fc0
commit 5847c05f5d
2 changed files with 6 additions and 4 deletions

View File

@ -40,11 +40,13 @@ class RecordController extends CloudflareController
{
switch ($field) {
case $this->getModel()::PARENT:
$this->getZoneModel()->where('status', DEFAULTS['STATUS']);
$this->getZoneModel()->where('status', 'active');
$options[$field] = [
DEFAULTS['EMPTY'] => lang($this->class_path . '.label.' . $field) . ' 선택',
...$this->getZoneModel()->getFormFieldOption($field, $options),
];
echo $this->getZoneModel()->getLastQuery();
dd($options);
break;
default:
$options = parent::getFormFieldOption($field, $options);

View File

@ -15,8 +15,7 @@ return [
'updated_at' => "수정일",
'created_at' => "작성일",
],
"ACCOUNT_UID" => [
],
"ACCOUNT_UID" => [],
"DEVELOPMENT_MODE" => [
"on" => "사용",
"off" => "사용않함",
@ -34,5 +33,6 @@ return [
"STATUS" => [
"active" => "active",
"pending" => "pending",
"moved" => "moved"
],
];