mirror of
https://github.com/netcccyun/dnsmgr.git
synced 2026-05-02 11:56:27 +02:00
```
feat(Domain): 添加域名解析日志记录功能 在域名解析添加成功后记录操作日志,包括域名名称、操作类型、记录值、线路信息和TTL值, 便于后续审计和问题排查。 ```
This commit is contained in:
@@ -1364,6 +1364,7 @@ class Domain extends BaseController
|
||||
if (!$recordId) {
|
||||
return ['success' => false, 'msg' => $dns->getError()];
|
||||
}
|
||||
$this->add_log($domainRow['name'], '添加解析', $name . ' [' . $type . '] ' . $value . ' (线路:' . $line . ' TTL:600)');
|
||||
return ['success' => true, 'msg' => '添加成功'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user