cfmgrv4 init...1
This commit is contained in:
parent
bc83fa1fc0
commit
5847c05f5d
@ -40,11 +40,13 @@ class RecordController extends CloudflareController
|
|||||||
{
|
{
|
||||||
switch ($field) {
|
switch ($field) {
|
||||||
case $this->getModel()::PARENT:
|
case $this->getModel()::PARENT:
|
||||||
$this->getZoneModel()->where('status', DEFAULTS['STATUS']);
|
$this->getZoneModel()->where('status', 'active');
|
||||||
$options[$field] = [
|
$options[$field] = [
|
||||||
DEFAULTS['EMPTY'] => lang($this->class_path . '.label.' . $field) . ' 선택',
|
DEFAULTS['EMPTY'] => lang($this->class_path . '.label.' . $field) . ' 선택',
|
||||||
...$this->getZoneModel()->getFormFieldOption($field, $options),
|
...$this->getZoneModel()->getFormFieldOption($field, $options),
|
||||||
];
|
];
|
||||||
|
echo $this->getZoneModel()->getLastQuery();
|
||||||
|
dd($options);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$options = parent::getFormFieldOption($field, $options);
|
$options = parent::getFormFieldOption($field, $options);
|
||||||
|
|||||||
@ -15,8 +15,7 @@ return [
|
|||||||
'updated_at' => "수정일",
|
'updated_at' => "수정일",
|
||||||
'created_at' => "작성일",
|
'created_at' => "작성일",
|
||||||
],
|
],
|
||||||
"ACCOUNT_UID" => [
|
"ACCOUNT_UID" => [],
|
||||||
],
|
|
||||||
"DEVELOPMENT_MODE" => [
|
"DEVELOPMENT_MODE" => [
|
||||||
"on" => "사용",
|
"on" => "사용",
|
||||||
"off" => "사용않함",
|
"off" => "사용않함",
|
||||||
@ -34,5 +33,6 @@ return [
|
|||||||
"STATUS" => [
|
"STATUS" => [
|
||||||
"active" => "active",
|
"active" => "active",
|
||||||
"pending" => "pending",
|
"pending" => "pending",
|
||||||
|
"moved" => "moved"
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user