change RecordController.php
This commit is contained in:
parent
b1d422ae43
commit
f26a3b4679
@ -83,10 +83,12 @@ class Record extends API
|
||||
'ttl' => intval($entity->ttl)
|
||||
];
|
||||
//변경작업: 2024-08-09
|
||||
$options['proxied'] = $entity->proxied == 'on' ? true : false;
|
||||
if (isset($fieldDatas['proxied']) && $fieldDatas['proxied'] === 'on') {
|
||||
$options['proxied'] = true;
|
||||
$options['ttl'] = 1;
|
||||
} elseif (isset($fieldDatas['proxied']) && $fieldDatas['proxied'] === 'off') {
|
||||
$options['proxied'] = false;
|
||||
$options['ttl'] = 120;
|
||||
}
|
||||
//dd($options);
|
||||
// throw new \Exception(var_export($fieldDatas, true) . "<HR>" . var_export($options, true));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user